1 filter.api.php | hook_editor_info_alter(&$editors) |
Perform alterations on editor definitions.
Parameters
$editors: Array of information on editors exposed by hook_editor_info() implementations.
Related topics
File
- core/
modules/ filter/ filter.api.php, line 180 - Hooks provided by the Filter module.
Code
function hook_editor_info_alter(&$editors) {
$editors['some_other_editor']['label'] = t('A different name');
}