Same name and namespace in other branches
  1. 8.x-3.x views_slideshow.api.inc \hook_views_slideshow_slideshow_info()

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

Return value

array Associative array of slideshow type and its information.

Sujets associés

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 dans contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc
Implements hook_views_slideshow_slideshow_info().
2 invocations of hook_views_slideshow_slideshow_info()
template_preprocess_views_slideshow dans theme/views_slideshow.theme.inc
Implements hook_preprocess_views_slideshow().
views_slideshow_plugin_style_slideshow::options_form dans ./views_slideshow_plugin_style_slideshow.inc
Build the settings form for the view.

Fichier

./views_slideshow.api.php, line 26

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