public function JqueryCarouselPluginStyleCarousel::options_form in jQuery carousel 7
Build the settings form for the view.
Overrides views_plugin_style::options_form
File
- views/
plugins/ JqueryCarouselPluginStyleCarousel.inc, line 27 - Contains the list style plugin.
Class
- JqueryCarouselPluginStyleCarousel
- Style plugin to render each item in a Carousel.
Code
public function options_form(&$form, &$form_state) {
$carousel_config_form = jquery_carousel_config_form();
$form = array_merge($form, $carousel_config_form);
foreach (array_keys($form) as $key) {
if (isset($form[$key]) && is_array($form[$key])) {
$form[$key]['#default_value'] = $this->options[$key];
}
}
}