You are here

function ultimenu_help in Ultimenu 8

Same name and namespace in other branches
  1. 8.2 ultimenu.module \ultimenu_help()
  2. 7 ultimenu.module \ultimenu_help()

Implements hook_help().

File

./ultimenu.module, line 14
Build Ultimenu blocks based on menu, and their regions on enabled menu items.

Code

function ultimenu_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.ultimenu':
      return check_markup(file_get_contents(dirname(__FILE__) . '/README.html'), 'restricted_html');
  }
}