Same name and namespace in other branches
  1. 7.x-3.x views_slideshow.api.php \hook_views_slideshow_slideshow_info() 1 comment

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
_views_slideshow_preprocess_views_view_slideshow in ./views_slideshow.theme.inc
Views Slideshow: slideshow.

File

./views_slideshow.api.inc, line 19

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;
}