function CKEditor5PluginManagerInterface::getEnabledDefinitions

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface::getEnabledDefinitions()
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface::getEnabledDefinitions()

Filter list of definitions by enabled plugins only.

Parameters

\Drupal\editor\EditorInterface $editor: A configured text editor object.

Return value

array Enabled plugin definitions.

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php, line 70

Class

CKEditor5PluginManagerInterface
Provides the interface for a plugin manager of CKEditor 5 plugins.

Namespace

Drupal\ckeditor5\Plugin

Code

public function getEnabledDefinitions(EditorInterface $editor) : array;

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