You are here

function hook_views_slideshow_slideshow_info in Views Slideshow 6.3

Same name and namespace in other branches
  1. 8.3 views_slideshow.api.inc \hook_views_slideshow_slideshow_info()
  2. 7.3 views_slideshow.api.php \hook_views_slideshow_slideshow_info()

Define the type of the slideshow (eg.: cycle, imageflow, ddblock).

Return value

Associative array of slideshow type and its information.

1 function implements hook_views_slideshow_slideshow_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

views_slideshow_cycle_views_slideshow_slideshow_info in contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc
Implements hook_views_slideshow_slideshow_info().
2 invocations of hook_views_slideshow_slideshow_info()
views_slideshow_plugin_style_slideshow::options_form in ./views_slideshow_plugin_style_slideshow.inc
_views_slideshow_preprocess_views_slideshow in theme/views_slideshow.theme.inc
@file The theme system, which controls the output of views slideshow.

File

./views_slideshow.api.php, line 19
Hooks provided by Views Slideshow.

Code

function hook_views_slideshow_slideshow_info() {
  $options = array(
    'views_slideshow_cycle' => array(
      'name' => t('Cycle'),
      'accepts' => array(
        'goToSlide',
        'nextSlide',
        'pause',
        'play',
        'previousSlide',
      ),
      'calls' => array(
        'transitionBegin',
        'transitionEnd',
        'goToSlide',
        'pause',
        'play',
        'nextSlide',
        'previousSlide',
      ),
    ),
  );
  return $options;
}