You are here

function micon_menu_help in Micon 8

Same name and namespace in other branches
  1. 2.x micon_menu/micon_menu.module \micon_menu_help()

Implements hook_help().

File

micon_menu/micon_menu.module, line 18
Contains micon_menu.module.

Code

function micon_menu_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the micon_menu module.
    case 'help.page.micon_menu':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Micon menu module overtakes the core default widget for menu link content entities, allowing you to set icons on menu links.') . '</p>';
      return $output;
    default:
  }
}