function CKEditor5PluginDefinition::getCKEditor5Plugins

Same name in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::getCKEditor5Plugins()
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::getCKEditor5Plugins()

Gets the list of CKEditor 5 plugin classes this plugin needs to load.

Return value

string[] CKEditor 5 plugin classes.

See also

\Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin::$plugins

1 call to CKEditor5PluginDefinition::getCKEditor5Plugins()
CKEditor5PluginDefinition::hasCKEditor5Plugins in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Whether this plugin loads CKEditor 5 plugin classes.

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php, line 544

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

public function getCKEditor5Plugins() : array {
    return $this->ckeditor5['plugins'];
}

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