You are here

function menu_link_clone_help in Menu Link Clone 8.2

Same name and namespace in other branches
  1. 8.3 menu_link_clone.module \menu_link_clone_help()
  2. 8 menu_link_clone.module \menu_link_clone_help()

Implements hook_help().

File

./menu_link_clone.module, line 13
Contains menu_link_clone.module.

Code

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

    // Main module help for the menu_link_clone module.
    case 'help.page.menu_link_clone':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Admin created menu link item cloning process.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<p>' . t('Provides a checkbox on menu clone form that gives you permission to clone the menu links created by Admin.') . '</p>';
      $output .= '<h3>' . t('Restrictions') . '</h3>';
      $output .= '<p>' . t('We can only clone menu link items created by Admin (Not system generated menu link items).') . '</p>';
      return $output;
    default:
      return;
  }
}