You are here

public function CKEditor5PluginManagerInterface::getEnabledDefinitions in Drupal 10

Filter list of definitions by enabled plugins only.

Parameters

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

Return value

array Enabled plugin definitions.

1 method overrides CKEditor5PluginManagerInterface::getEnabledDefinitions()
CKEditor5PluginManager::getEnabledDefinitions in core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php
Filter list of definitions by enabled plugins only.

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;