function advanced_help_menu_links_discovered_alter in Advanced Help 8
Implements hook_menu_links_discovered_alter().
Remove the admin menu in case the help module is enabled.
File
- ./
advanced_help.module, line 15
Code
function advanced_help_menu_links_discovered_alter(&$links) {
if (Drupal::moduleHandler()
->moduleExists('help')) {
unset($links['advanced_help.main']);
}
}