function hook_ckeditor_plugin_alter in CKEditor - WYSIWYG HTML editor 7
Hook to extend/change CKEditor plugins.
Parameters
$plugins: An associative array of plugins.
1 invocation of hook_ckeditor_plugin_alter()
- ckeditor_load_plugins in includes/
ckeditor.lib.inc - List of CKEditor plugins.
File
- ./
ckeditor.api.php, line 68 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function hook_ckeditor_plugin_alter(&$plugins) {
// Remove a plugin button.
unset($plugins['plugin_name']['buttons']['button']);
}