function rest_menu_items_help in Rest menu items 3.0.x
Same name and namespace in other branches
- 8.2 rest_menu_items.module \rest_menu_items_help()
- 8 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:
}
}