You are here

function photoswipe_help in PhotoSwipe 8.2

Same name and namespace in other branches
  1. 8 photoswipe.module \photoswipe_help()
  2. 6 photoswipe.module \photoswipe_help()
  3. 7.2 photoswipe.module \photoswipe_help()
  4. 7 photoswipe.module \photoswipe_help()
  5. 3.x photoswipe.module \photoswipe_help()

Implements hook_help().

File

./photoswipe.module, line 52
Photswipe integration with Drupal module.

Code

function photoswipe_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the photoswipe module.
    case 'help.page.photoswipe':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('<a href=":url">Photoswipe</a> provides a nice javascript-based display for photo galleries, very sleek on mobile browsers.', [
        ':url' => 'http://www.photoswipe.com/',
      ]) . '</p>';
      return $output;
  }
}