function hook_editor_info_alter in Editor 7
Perform alterations on editor definitions.
Parameters
array $editors: Array of information on editors exposed by hook_editor_info() implementations.
1 invocation of hook_editor_info_alter()
- editor_get_editors in ./
editor.module - Returns a list of text editors that are used with 'text_format' elements.
File
- ./
editor.api.php, line 60 - Documentation for Editor module APIs.
Code
function hook_editor_info_alter(&$editors) {
$editors['some_other_editor']['title'] = t('A different name');
}