class CKEditor5AspectsOfCKEditor5Plugin

Same name in this branch
  1. 11.x core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
Same name and namespace 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

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 Gets the class of the attribute class. Overrides AttributeInterface::getClass 1
AttributeBase::getId public function Gets the unique ID for this attribute class. Overrides AttributeInterface::getId
AttributeBase::getProvider public function Gets the name of the provider of the attribute class. Overrides AttributeInterface::getProvider
AttributeBase::setClass public function Sets the class of the attributed class. Overrides AttributeInterface::setClass 1
AttributeBase::setProvider public function Sets the name of the provider of the attribute class. Overrides AttributeInterface::setProvider
CKEditor5AspectsOfCKEditor5Plugin::get public function Gets the value of an attribute. 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.