You are here

protected function ViewsBootstrapTab::defineOptions in Views Bootstrap 8.4

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/style/ViewsBootstrapTab.php \Drupal\views_bootstrap\Plugin\views\style\ViewsBootstrapTab::defineOptions()

Definition.

Overrides StylePluginBase::defineOptions

File

src/Plugin/views/style/ViewsBootstrapTab.php, line 44

Class

ViewsBootstrapTab
Style plugin to render each item in an ordered or unordered list.

Namespace

Drupal\views_bootstrap\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['tab_field'] = [
    'default' => NULL,
  ];
  $options['tab_type'] = [
    'default' => 'tabs',
  ];
  $options['justified'] = [
    'default' => FALSE,
  ];
  return $options;
}