You are here

function cheeseburger_menu_help in Cheeseburger Menu 5.0.x

Same name and namespace in other branches
  1. 8.4 cheeseburger_menu.module \cheeseburger_menu_help()
  2. 8.2 cheeseburger_menu.module \cheeseburger_menu_help()
  3. 8.3 cheeseburger_menu.module \cheeseburger_menu_help()

Implements hook_help().

File

./cheeseburger_menu.module, line 17
Contains cheeseburger_menu.module.

Code

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

    // Main module help for the cheeseburger_menu module.
    case 'help.page.cheeseburger_menu':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This block is displaying the main menu and its child items in an ordered list') . '</p>';
      return $output;
    default:
  }
}