function AddItemToToolbar::__construct

File

core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php, line 22

Class

AddItemToToolbar
#[ConfigAction(id: 'editor:addItemToToolbar', admin_label: new TranslatableMarkup('Add an item to a CKEditor 5 toolbar'), entity_types: [ 'editor', ])]

Namespace

Drupal\ckeditor5\Plugin\ConfigAction

Code

public function __construct(private readonly ConfigManagerInterface $configManager, private readonly CKEditor5PluginManagerInterface $pluginManager, private readonly string $pluginId) {
}

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