function hook_wysiwyg_load_includes_alter in Wysiwyg 7.2
Same name and namespace in other branches
- 6.2 wysiwyg.api.php \hook_wysiwyg_load_includes_alter()
Alter plugin definitions before loading and further processing.
Parameters
array $info: The plugin definitions to alter.
string $hook: The plugin type being loaded. Can be 'editor' or 'plugin'.
1 invocation of hook_wysiwyg_load_includes_alter()
- wysiwyg_load_includes in ./
wysiwyg.module - Load include files for wysiwyg implemented by all modules.
File
- ./
wysiwyg.api.php, line 185 - API documentation for Wysiwyg module.
Code
function hook_wysiwyg_load_includes_alter(&$info, $hook) {
if ($hook == 'editor' && isset($info['ckeditor'])) {
$info['ckeditor']['version callback'] = 'my_own_version_callback';
}
elseif ($hook == 'plugin' && isset($info['break'])) {
$info['break']['title'] = t('Summary delimiter');
}
}