function editor_menu_links_discovered_alter
Same name in other branches
- 9 core/modules/editor/editor.module \editor_menu_links_discovered_alter()
- 8.9.x core/modules/editor/editor.module \editor_menu_links_discovered_alter()
- 11.x core/modules/editor/editor.module \editor_menu_links_discovered_alter()
Implements hook_menu_links_discovered_alter().
Rewrites the menu entries for filter module that relate to the configuration of text editors.
File
-
core/
modules/ editor/ editor.module, line 54
Code
function editor_menu_links_discovered_alter(array &$links) {
$links['filter.admin_overview']['title'] = new TranslatableMarkup('Text formats and editors');
$links['filter.admin_overview']['description'] = new TranslatableMarkup('Select and configure text editors, and how content is filtered when displayed.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.