function jquery_carousel_help in jQuery carousel 8
Same name and namespace in other branches
- 7 jquery_carousel.module \jquery_carousel_help()
Implements hook_help().
File
- ./
jquery_carousel.module, line 13 - Provide jquery carousel style plugin for views.
Code
function jquery_carousel_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.jquery_carousel':
$output = '';
$output .= '<p>' . t('jQuery carousel is based on the jquery plugin http://github.com/richardscarrott/jquery-ui-carousel. It allows developers to create carousels using the data entered through the content types.') . '</p>';
$output .= '<p>' . t('For more details, check the documentation on the project page(https://www.drupal.org/project/jquery_carousel)') . '</p>';
$output .= '<p>' . t('@TODO Need to update d8 demo url. Demo available at http://jcarousel.qed42.webfactional.com');
return [
'#markup' => $output,
];
}
}