class CKEditor5AspectsOfCKEditor5Plugin

Same name in this branch
  1. 11.x core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
Same name in other branches
  1. 9 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
  2. 10 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
  3. 10 core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Attribute\CKEditor5AspectsOfCKEditor5Plugin

Hierarchy

Expanded class hierarchy of CKEditor5AspectsOfCKEditor5Plugin

File

core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php, line 9

Namespace

Drupal\ckeditor5\Attribute
View source
class CKEditor5AspectsOfCKEditor5Plugin extends Plugin {
    
    /**
     * Constructs a CKEditor5AspectsOfCKEditor5Plugin attribute.
     *
     * @param class-string[] $plugins
     *   The CKEditor 5 plugin classes provided. Found in the CKEditor5 global js
     *   object as {package.Class}.
     * @param array $config
     *   (optional) A keyed array of additional values for the CKEditor 5
     *   configuration.
     */
    public function __construct(array $plugins, array $config = []) {
    }
    
    /**
     * {@inheritdoc}
     */
    public function get() : array|object {
        return [
            'plugins' => $this->plugins,
            'config' => $this->config,
        ];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AttributeBase::$class protected property The class used for this attribute class.
AttributeBase::$provider protected property The provider of the attribute class.
AttributeBase::getClass public function Overrides AttributeInterface::getClass 1
AttributeBase::getId public function Overrides AttributeInterface::getId
AttributeBase::getProvider public function Overrides AttributeInterface::getProvider
AttributeBase::setClass public function Overrides AttributeInterface::setClass 1
AttributeBase::setProvider public function Overrides AttributeInterface::setProvider
CKEditor5AspectsOfCKEditor5Plugin::get public function Overrides AttributeBase::get
CKEditor5AspectsOfCKEditor5Plugin::__construct public function Constructs a CKEditor5AspectsOfCKEditor5Plugin attribute. Overrides Plugin::__construct

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.