You are here

function menu_breadcrumb_help in Menu Breadcrumb 7

Same name and namespace in other branches
  1. 8 menu_breadcrumb.module \menu_breadcrumb_help()
  2. 6 menu_breadcrumb.module \menu_breadcrumb_help()
  3. 2.0.x menu_breadcrumb.module \menu_breadcrumb_help()

Implements hook_help().

File

./menu_breadcrumb.module, line 22
The main file for the menu_breadcrumb module.

Code

function menu_breadcrumb_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/modules#description':
      $output = t('Allows you to use the menu the current page belongs to for the breadcrumb.');
      break;
    case 'admin/config/menu_breadcrumb':
      $output = t('<p>By default, Drupal will use the Navigation menu for the breadcrumb. This module allows you to use the menu the current page belongs to for the breadcrumb.</p><p>As an added bonus, it also allows you to append the page title to the breadcrumb (either as a clickable url or not) and hide the breadcrumb if it only contains the link to the front page.</p>');
      break;
  }
  return $output;
}