You are here

public function CKEditor5PluginDefinition::getCKEditor5Plugins in Drupal 10

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 517

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

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