You are here

function hook_editor_ckeditor_plugins_alter in Editor 7

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

array $plugins: An array of all the existing plugin definitions, passed by reference.

See also

hook_editor_ckeditor_plugins()

1 invocation of hook_editor_ckeditor_plugins_alter()
editor_ckeditor_plugins in modules/editor_ckeditor/editor_ckeditor.module
Retrieves the full list of installed CKEditor plugins.

File

modules/editor_ckeditor/editor_ckeditor.api.php, line 83
Documentation for Editor CKEditor module APIs.

Code

function hook_editor_ckeditor_plugins_alter(array &$plugins) {
  $plugins['someplugin']['enabled callback'] = 'mymodule_someplugin_enabled_callback';
}