Same name and namespace in other branches
  1. 5.0.x views_slideshow.module \views_slideshow_help()
  2. 7.x-3.x views_slideshow.module \views_slideshow_help()

Implements hook_help().

Fichier

./views_slideshow.module, line 13

Code

function views_slideshow_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        // Main module help for the gss module.
        case 'help.page.views_slideshow':
            $output = '<h3>' . t('About') . '</h3>';
            $output .= '<p>' . t('Views Slideshow can be used to create a slideshow of any content (not just images) that can appear in a View. Powered by jQuery, it is heavily customizable: you may choose slideshow settings for each View you create.') . '</p>';
            $output .= '<h3>' . t('More Information') . '</h3>';
            $output .= '<p>' . t('For more information about this module visit the <a href="@link">Views Slideshow</a> module page.', [
                '@link' => 'https://www.drupal.org/project/views_slideshow',
            ]) . '</p>';
            return $output;
    }
}