1.20.x ckeditor.api.php | hook_ckeditor_plugins_alter(array &$plugins) |
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
Related topics
File
- modules/
ckeditor/ ckeditor.api.php, line 115 - Documentation for CKEditor module APIs.
Code
function hook_ckeditor_plugins_alter(array &$plugins) {
$plugins['someplugin']['enabled callback'] = 'mymodule_someplugin_enabled_callback';
}