You are here

rest_menu_items.module in Rest menu items 3.0.x

Same filename and directory in other branches
  1. 8.2 rest_menu_items.module
  2. 8 rest_menu_items.module

File

rest_menu_items.module
View source
<?php

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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:
  }
}

Functions

Namesort descending Description
rest_menu_items_help Implements hook_help().