function AddItemToToolbar::__construct
Same name and namespace in other branches
- 11.x core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php \Drupal\ckeditor5\Plugin\ConfigAction\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\ConfigActionCode
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.