You are here

function views_slideshow_cycle_help in Views Slideshow 7.3

Same name and namespace in other branches
  1. 8.4 modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()
  2. 8.3 modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()
  3. 6.3 contrib/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_help()

Implements hook_help().

File

contrib/views_slideshow_cycle/views_slideshow_cycle.module, line 64
Views Slideshow: cycle is typically used for field views.

Code

function views_slideshow_cycle_help($path, $arg) {
  switch ($path) {
    case 'admin/help#views_slideshow_cycle':
      if (module_exists('advanced_help')) {
        $output = '<p>' . l(t('Click here to view the documentation for Views Slideshow Cycle.'), 'admin/help/ah/views_slideshow_cycle') . '</p>';
      }
      else {
        $output = '<p>' . t('Views Slideshow Cycle help can be found by installing and enabling the !advanced_help', array(
          '!advanced_help' => l(t('Advanced Help module'), 'http://drupal.org/project/advanced_help'),
        )) . '</p>';
      }
      return $output;
  }
}