function hook_wysiwyg_editor_alter in Wysiwyg 7.2
Same name and namespace in other branches
- 6.2 wysiwyg.api.php \hook_wysiwyg_editor_alter()
Alter editor definitions defined by other modules.
Parameters
array $editors: The Editors to alter.
1 invocation of hook_wysiwyg_editor_alter()
- wysiwyg_get_all_editors in ./
wysiwyg.module - Compile a list holding all supported editors including installed editor version information.
File
- ./
wysiwyg.api.php, line 292 - API documentation for Wysiwyg module.
Code
function hook_wysiwyg_editor_alter(&$editors) {
$editors['editor']['version callback'] = 'my_own_version_callback';
}