protected function Slideshow::defineOptions in Views Slideshow 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/views/style/Slideshow.php \Drupal\views_slideshow\Plugin\views\style\Slideshow::defineOptions()
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides StylePluginBase::defineOptions
File
- src/
Plugin/ views/ style/ Slideshow.php, line 63 - Contains \Drupal\views_slideshow\Plugin\views\style\Slideshow.
Class
- Slideshow
- Style plugin to render each item in a grid cell.
Namespace
Drupal\views_slideshow\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['row_class_custom'] = array(
'default' => '',
);
$options['row_class_default'] = array(
'default' => TRUE,
);
return array_merge($options, \Drupal::moduleHandler()
->invokeAll('views_slideshow_option_definition'));
}