protected function Jssor::defineOptions in Jssor Slider 7
Same name and namespace in other branches
- 8 src/Plugin/views/style/Jssor.php \Drupal\jssor\Plugin\views\style\Jssor::defineOptions()
Overrides StylePluginBase::defineOptions
1 call to Jssor::defineOptions()
- JssorViewsStylePlugin::defaultOptions in src/
JssorViewsStylePlugin.inc - Get the Style Plugin default options.
File
- src/
Plugin/ views/ style/ Jssor.php, line 52 - Definition of Drupal\jssor\Plugin\views\style\Jssor.
Class
- Jssor
- Style plugin to render each item in an ordered or unordered list.
Namespace
Drupal\jssor\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['autoplay'] = array(
'default' => TRUE,
);
$options['autoplayinterval'] = array(
'default' => 3000,
);
$options['autoplaysteps'] = array(
'default' => 1,
);
$options['pauseonhover'] = array(
'default' => 1,
);
$options['arrownavigator'] = array(
'default' => FALSE,
);
$options['bulletnavigator'] = array(
'default' => FALSE,
);
$options['chancetoshow'] = array(
'default' => 0,
);
$options['arrowskin'] = array(
'default' => 1,
);
$options['bulletskin'] = array(
'default' => 1,
);
$options['autocenter'] = array(
'default' => 0,
);
$options['spacingx'] = array(
'default' => 0,
);
$options['spacingy'] = array(
'default' => 0,
);
$options['orientation'] = array(
'default' => 1,
);
$options['steps'] = array(
'default' => 1,
);
$options['lanes'] = array(
'default' => 1,
);
$options['transition'] = array(
'default' => 'transition001',
);
return $options;
}