Same name and namespace in other branches
- 7.x-3.x views_slideshow.api.php \hook_views_slideshow_slideshow_type_form()
Define form fields to be displayed in the views settings form. These fields would help configure your slideshow type.
1 function implements hook_views_slideshow_slideshow_type_form()
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_type_form dans modules/
views_slideshow_cycle/ views_slideshow_cycle.module - Implements hook_views_slideshow_slideshow_slideshow_type_form().
1 invocation of hook_views_slideshow_slideshow_type_form()
- Slideshow::buildOptionsForm dans src/
Plugin/ views/ style/ Slideshow.php
Fichier
-
./
views_slideshow.api.inc, line 48
Code
function hook_views_slideshow_slideshow_type_form(&$form, &$form_state, &$view) {
$form['views_slideshow_cycle']['effect'] = array(
'#type' => 'select',
'#title' => t('Effect'),
'#options' => $effects,
'#default_value' => $view->options['views_slideshow_cycle']['effect'],
'#description' => t('The transition effect that will be used to change between images. Not all options below may be relevant depending on the effect. ' . l('Follow this link to see examples of each effect.', 'http://jquery.malsup.com/cycle/browser.html', array(
'attributes' => array(
'target' => '_blank',
),
))),
);
}