function hook_views_slideshow_slideshow_info in Views Slideshow 7.3
Same name and namespace in other branches
- 8.3 views_slideshow.api.inc \hook_views_slideshow_slideshow_info()
- 6.3 views_slideshow.api.php \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.
Related topics
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()
- template_preprocess_views_slideshow in theme/
views_slideshow.theme.inc - Implements hook_preprocess_views_slideshow().
- views_slideshow_plugin_style_slideshow::options_form in ./
views_slideshow_plugin_style_slideshow.inc - Build the settings form for the view.
File
- ./
views_slideshow.api.php, line 26 - 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;
}