You are here

public function RadioButtons::defaultConfiguration in Better Exposed Filters 8.5

Same name and namespace in other branches
  1. 8.4 src/Plugin/better_exposed_filters/filter/RadioButtons.php \Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\RadioButtons::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FilterWidgetBase::defaultConfiguration

File

src/Plugin/better_exposed_filters/filter/RadioButtons.php, line 21

Class

RadioButtons
Default widget implementation.

Namespace

Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'select_all_none' => FALSE,
    'select_all_none_nested' => FALSE,
    'display_inline' => FALSE,
  ];
}