function hook_ckeditor_plugin_info_alter
Same name in other branches
- 9 core/modules/ckeditor/ckeditor.api.php \hook_ckeditor_plugin_info_alter()
Modify the list of available CKEditor plugins.
This hook may be used to modify plugin properties after they have been specified by other modules.
Parameters
$plugins: An array of all the existing plugin definitions, passed by reference.
See also
\Drupal\ckeditor\CKEditorPluginManager
Related topics
1 invocation of hook_ckeditor_plugin_info_alter()
- CKEditorPluginManager::__construct in core/
modules/ ckeditor/ src/ CKEditorPluginManager.php - Constructs a CKEditorPluginManager object.
File
-
core/
modules/ ckeditor/ ckeditor.api.php, line 26
Code
function hook_ckeditor_plugin_info_alter(array &$plugins) {
$plugins['someplugin']['label'] = t('Better name');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.