You are here

protected function ViewsBootstrapPanel::defineOptions in Views Bootstrap 8.3

Definition.

Overrides StylePluginBase::defineOptions

File

src/Plugin/views/style/ViewsBootstrapPanel.php, line 40

Class

ViewsBootstrapPanel
Style plugin to render each item as a row in a Bootstrap Panel.

Namespace

Drupal\views_bootstrap\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['panel_title_field'] = [
    'default' => NULL,
  ];
  $options['panel_label_field'] = [
    'default' => NULL,
  ];
  $options['panel_footer_field'] = [
    'default' => NULL,
  ];
  $options['contextual_class'] = [
    'default' => 'panel-default',
  ];
  return $options;
}