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

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 in 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 in src/Plugin/views/style/Slideshow.php

File

./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',
            ),
        ))),
    );
}