You are here

function megamenu_help in Megamenu 7

Same name and namespace in other branches
  1. 6.2 megamenu.module \megamenu_help()
  2. 6 megamenu.module \megamenu_help()

Implements hook_help().

File

./megamenu.module, line 15
Takes existing menus and produces blocks that render the menu as a megamenu.

Code

function megamenu_help($path, $arg) {
  switch ($path) {
    case 'admin/config/user-interface/megamenu':
      $output = '<p>' . t('To enable a Megamenu, go to !link in the admin section. There you can place a Megamenu, most likely in the header region, and it will inherit its structure from the associated Drupal menu.', array(
        '!link' => l(t('Site building -> Blocks'), 'admin/structure/block'),
      )) . '</p>';
      return $output;
  }
}