function CKEditor5PluginDefinition::hasElements
Same name and namespace in other branches
- 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::hasElements()
Whether this plugin allows creating/editing elements and attributes.
Return value
bool
See also
\Drupal\ckeditor5\Annotation\DrupalAspectsOfCKEditor5Plugin::$elements
File
-
core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php, line 532
Class
- CKEditor5PluginDefinition
- Provides an implementation of a CKEditor 5 plugin definition.
Namespace
Drupal\ckeditor5\PluginCode
public function hasElements() : bool {
return $this->drupal['elements'] !== FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.