function photoswipe_help in PhotoSwipe 8
Same name and namespace in other branches
- 8.2 photoswipe.module \photoswipe_help()
- 6 photoswipe.module \photoswipe_help()
- 7.2 photoswipe.module \photoswipe_help()
- 7 photoswipe.module \photoswipe_help()
- 3.x photoswipe.module \photoswipe_help()
Implements hook_help().
File
- ./
photoswipe.module, line 56 - 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;
}
}