You are here

function admin_language_menu_link_alter in Administration Language 7

Implements hook_menu_link_alter().

File

./admin_language.module, line 62
Makes admin pages be displayed in the administrator's preferred language.

Code

function admin_language_menu_link_alter(&$item) {
  if (isset($item['menu_name']) && 'management' == $item['menu_name'] || 'user/logout' == $item['link_path']) {
    $item['options']['alter'] = TRUE;
  }
}