class CKEditor5AspectsOfCKEditor5Plugin
Same name in this branch
- 10 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
Same name in other branches
- 9 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
- 11.x core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
- 11.x core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Attribute\CKEditor5AspectsOfCKEditor5Plugin
Hierarchy
- class \Drupal\Component\Plugin\Attribute\AttributeBase implements \Drupal\Component\Plugin\Attribute\AttributeInterface
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
- class \Drupal\ckeditor5\Attribute\CKEditor5AspectsOfCKEditor5Plugin extends \Drupal\Component\Plugin\Attribute\Plugin
- class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
Expanded class hierarchy of CKEditor5AspectsOfCKEditor5Plugin
File
-
core/
modules/ ckeditor5/ src/ Attribute/ CKEditor5AspectsOfCKEditor5Plugin.php, line 9
Namespace
Drupal\ckeditor5\AttributeView 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.