src/Element/CkEditor.php
public function setOptions($options)
    {
        /** @noinspection UnSafeIsSetOverArrayInspection */
        if (isset($options[static::OPTION_CONFIG])) {
            $this->setEditorConfig($options[static::OPTION_CONFIG]);

            unset($options[static::OPTION_CONFIG]);
        }

        parent::setOptions($options);

        return $this;
    }
public function setOptions($options)
    {
        /** @noinspection UnSafeIsSetOverArrayInspection */
        if (isset($options[static::OPTION_CONFIG])) {
            $this->setEditorConfig($options[static::OPTION_CONFIG]);

            unset($options[static::OPTION_CONFIG]);
        }

        parent::setOptions($options);

        return $this;
    }
public function setOptions ( $ options ) { /** @noinspection UnSafeIsSetOverArrayInspection */ if ( isset ( $ options [ static :: OPTION_CONFIG ] ) ) { $ this -> setEditorConfig ( $ options [ static :: OPTION_CONFIG ] ) ; unset ( $ options [ static :: OPTION_CONFIG ] ) ; } parent :: setOptions ( $ options ) ; return $ this ; }
Accepted options for CKEditor:
- config: an array used in the CKEditor.config

@param array|Traversable $options

@return $this
@throws \InvalidArgumentException
Accepted options for CKEditor : - config : an array used in the CKEditor . config