You are here

public function CKEditor5PluginManagerInterface::getEnabledLibraries in Drupal 10

Gets a list of libraries required for the editor.

This list is filtered by enabled plugins because it is needed at runtime.

Parameters

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

Return value

string[] The list of enabled libraries.

1 method overrides CKEditor5PluginManagerInterface::getEnabledLibraries()
CKEditor5PluginManager::getEnabledLibraries in core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php
Gets a list of libraries required for the editor.

File

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

Class

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

Namespace

Drupal\ckeditor5\Plugin

Code

public function getEnabledLibraries(EditorInterface $editor) : array;