function CKEditor5PluginManagerInterface::getEnabledLibraries

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

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.

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;

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