You are here

function hook_views_slideshow_slideshow_type_form in Views Slideshow 6.3

Same name and namespace in other branches
  1. 8.3 views_slideshow.api.inc \hook_views_slideshow_slideshow_type_form()
  2. 7.3 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 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

File

./views_slideshow.api.php, line 48
Hooks provided by Views Slideshow.

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