You are here

function responsive_menus_help in Responsive Menus 7

Same name and namespace in other branches
  1. 8 responsive_menus.module \responsive_menus_help()

Implements hook_help().

File

./responsive_menus.module, line 41
Responsify menus in Drupal.

Code

function responsive_menus_help($path, $arg) {
  switch ($path) {

    // On the help overview page.
    case 'admin/help#responsive_menus':
      return '<p>' . t('Responsify your menus! Using any jQuery compatible selector, make elements mobile friendly. Technically you could use this on more than menus... The <a href="@admin">administration page</a> provides settings to control which menus to control, what screen size to react to, and a few other options.', array(
        '@admin' => url('admin/config/user-interface/responsive_menus'),
      )) . '</p>';

    // On the admin settings page.
    case 'admin/config/user-interface/responsive_menus':
      return '<p>' . t('This page provides configuration options for responsive menus. You may configure any amount of menus to respond to any screen size by simply adding a jQuery compatible selector to the list below. There is also an option to ignore admin pages where you might not want responsive menus.') . '</p>';
  }
}