function content_translation_menu_links_discovered_alter

content_translation_menu_links_discovered_alter(array &$links)

Implements hook_menu_links_discovered_alter().

File

core/modules/content_translation/content_translation.module, line 265
Allows entities to be translated into different languages.

Code

function content_translation_menu_links_discovered_alter(array &$links) {
  // Clarify where translation settings are located.
  $links['language.content_settings_page']['title'] = new TranslatableMarkup('Content language and translation');
  $links['language.content_settings_page']['description'] = new TranslatableMarkup('Configure language and translation support for content.');
}

© 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!content_translation!content_translation.module/function/content_translation_menu_links_discovered_alter/8.1.x