protected function ViewsBootstrapCards::defineOptions in Views Bootstrap 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/views/style/ViewsBootstrapCards.php \Drupal\views_bootstrap\Plugin\views\style\ViewsBootstrapCards::defineOptions()
Definition.
Overrides StylePluginBase::defineOptions
File
- src/
Plugin/ views/ style/ ViewsBootstrapCards.php, line 68
Class
- ViewsBootstrapCards
- Style plugin to render each item in an ordered or unordered list.
Namespace
Drupal\views_bootstrap\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['card_title_field'] = [
'default' => NULL,
];
$options['card_content_field'] = [
'default' => NULL,
];
$options['card_image_field'] = [
'default' => NULL,
];
$options['card_group_class_custom'] = [
'default' => NULL,
];
$options['card_class_custom'] = [
'default' => NULL,
];
return $options;
}