You are here

function views_slideshow_help in Views Slideshow 6.2

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

Implements hook_help().

File

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

Code

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