function micon_menu_menu_links_discovered_alter in Micon 2.x
Same name and namespace in other branches
- 8 micon_menu/micon_menu.module \micon_menu_menu_links_discovered_alter()
Implements hook_menu_links_discovered_alter().
File
- micon_menu/
micon_menu.module, line 63 - Contains micon_menu.module.
Code
function micon_menu_menu_links_discovered_alter(&$links) {
$links['user.logout']['class'] = 'Drupal\\micon_menu\\MiconLoginLogoutMenuLink';
}