Same name and namespace in other branches
  1. 5.0.x modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()
  2. 7.x-3.x contrib/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()
  3. 8.x-3.x modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()

Implements hook_help().

Fichier

modules/views_slideshow_cycle/views_slideshow_cycle.module, line 15

Code

function views_slideshow_cycle_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'help.page.views_slideshow_cycle':
            $output = '<p>' . t('Views Slideshow Cycle help can be found by installing and enabling the @advanced_help', [
                '@advanced_help' => Link::fromTextAndUrl(t('Advanced Help module'), Url::fromUri('http://drupal.org/project/advanced_help'))->toString(),
            ]) . '</p>';
            return $output;
    }
}