Commit 5f2ccad7 authored by cebasqueira's avatar cebasqueira Committed by NickWilde

Issue #2844323 by cebasqueira: Missing hook_help

parent 43f0c4c3
...@@ -5,6 +5,24 @@ ...@@ -5,6 +5,24 @@
* Provides Slideshow style options for Views. * Provides Slideshow style options for Views.
*/ */
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
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 visite the <a href="@link">Views Slideshow</a> module page.', array('@link' => 'https://www.drupal.org/project/views_slideshow')) . '</p>';
}
return $output;
}
/** /**
* Implements hook_theme(). * Implements hook_theme().
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment