You are here

function rest_menu_items_help in Rest menu items 8.2

Same name and namespace in other branches
  1. 8 rest_menu_items.module \rest_menu_items_help()
  2. 3.0.x rest_menu_items.module \rest_menu_items_help()

Implements hook_help().

File

./rest_menu_items.module, line 8

Code

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

    // Main module help for the finalist_rest_extra module.
    case 'help.page.rest_menu_items':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Rest menu item endpoint') . '</p>';
      return $output;
    default:
  }
}