You are here

function navbar_help in Navbar 7

Implements hook_help().

File

./navbar.module, line 24
Administration navbar for quick access to top level administration items.

Code

function navbar_help($path, $arg) {
  switch ($path) {
    case 'admin/help#navbar':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Navbar module displays links to top-level administration menu items and links from other modules at the top of the screen. For more information, see the online handbook entry for <a href="@navbar">Navbar module</a>.', array(
        '@navbar' => 'https://drupal.org/node/1993254',
      )) . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('Displaying administrative links') . '</dt>';
      $output .= '<dd>' . t('The Navbar module displays a bar containing top-level administrative components across the top of the screen. Below that, the Navbar module has a <em>drawer</em> section where it displays links provided by other modules, such as the core <a href="@shortcuts-help">Shortcut module</a>. The drawer can be hidden/shown by clicking on its corresponding tab.', array(
        '@shortcuts-help' => url('admin/help/shortcut'),
      )) . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}