You are here

function hook_views_slideshow_slideshow_info in Views Slideshow 8.3

Same name and namespace in other branches
  1. 6.3 views_slideshow.api.php \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 modules/views_slideshow_cycle/views_slideshow_cycle.module
Implements hook_views_slideshow_slideshow_info().
2 invocations of hook_views_slideshow_slideshow_info()
Slideshow::buildOptionsForm in src/Plugin/views/style/Slideshow.php
Provide a form to edit options for this plugin.
_views_slideshow_preprocess_views_view_slideshow in ./views_slideshow.theme.inc
Views Slideshow: slideshow.

File

./views_slideshow.api.inc, 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;
}