editor_menu_links_discovered_alter
function editor_menu_links_discovered_alter
editor_menu_links_discovered_alter(array &$links)
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 50
- Adds bindings for client-side "text editors" to text formats.
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.'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!editor!editor.module/function/editor_menu_links_discovered_alter/8.1.x