You are here

public function CKEditor5PluginManager::getToolbarItems in Drupal 10

Gets a list of all toolbar items.

Return value

string[] List of all toolbar items provided by plugins.

Overrides CKEditor5PluginManagerInterface::getToolbarItems

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php, line 103

Class

CKEditor5PluginManager
Provides a CKEditor5 plugin manager.

Namespace

Drupal\ckeditor5\Plugin

Code

public function getToolbarItems() : array {
  return $this
    ->mergeDefinitionValues('getToolbarItems', $this
    ->getDefinitions());
}