You are here

function hook_ckeditor_plugins_alter in CKEditor for WYSIWYG Module 8

Same name and namespace in other branches
  1. 7 ckeditor.api.php \hook_ckeditor_plugins_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

hook_ckeditor_plugins()

1 invocation of hook_ckeditor_plugins_alter()
ckeditor_plugins in ./ckeditor.module
Retrieves the full list of installed CKEditor plugins.

File

./ckeditor.api.php, line 85
Documentation for CKEditor module APIs.

Code

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