Same name and namespace in other branches
- 8.x-3.x views_slideshow.api.inc \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.
Related topics
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 in contrib/
views_slideshow_cycle/ views_slideshow_cycle.views_slideshow.inc - Implements hook_views_slideshow_slideshow_slideshow_type_form().
1 invocation of hook_views_slideshow_slideshow_type_form()
- 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 56
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. !link', array(
'!link' => l(t('Follow this link to see examples of each effect.'), 'http://jquery.malsup.com/cycle/browser.html', array(
'attributes' => array(
'target' => '_blank',
),
)),
)),
);
}