protected function ViewsBootstrapTable::defineOptions in Views Bootstrap 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/views/style/ViewsBootstrapTable.php \Drupal\views_bootstrap\Plugin\views\style\ViewsBootstrapTable::defineOptions()
Definition.
Overrides Table::defineOptions
File
- src/
Plugin/ views/ style/ ViewsBootstrapTable.php, line 27
Class
- ViewsBootstrapTable
- Style plugin to render each item as a row in a Bootstrap table.
Namespace
Drupal\views_bootstrap\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['bootstrap_styles'] = [
'default' => [],
];
$options['caption'] = [
'default' => '',
];
$options['summary'] = [
'default' => '',
];
$options['description'] = [
'default' => '',
];
$options['responsive'] = [
'default' => FALSE,
];
return $options;
}