You are here

function responsive_menus_help in Responsive Menus 8

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

Implements hook_help().

File

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

Code

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

    // On the help overview page.
    case 'help.page.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.', [
        '@admin' => Url::fromRoute('responsive_menus.admin'),
      ]) . '</p>';

    // On the admin settings page.
    case 'responsive_menus.admin':
      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>';
  }
}