You are here

function views_slideshow_help in Views Slideshow 8.4

Same name and namespace in other branches
  1. 6.3 views_slideshow.module \views_slideshow_help()
  2. 6.2 views_slideshow.module \views_slideshow_help()
  3. 7.3 views_slideshow.module \views_slideshow_help()

Implements hook_help().

File

./views_slideshow.module, line 13
Provides Slideshow style options for Views.

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;
  }
}