You are here

public function BetterExposedFiltersWidgetBase::defaultConfiguration in Better Exposed Filters 8.4

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

4 calls to BetterExposedFiltersWidgetBase::defaultConfiguration()
BetterExposedFiltersWidgetBase::__construct in src/Plugin/BetterExposedFiltersWidgetBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
FilterWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
Gets default configuration for this plugin.
PagerWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/pager/PagerWidgetBase.php
Gets default configuration for this plugin.
SortWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/sort/SortWidgetBase.php
Gets default configuration for this plugin.
3 methods override BetterExposedFiltersWidgetBase::defaultConfiguration()
FilterWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
Gets default configuration for this plugin.
PagerWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/pager/PagerWidgetBase.php
Gets default configuration for this plugin.
SortWidgetBase::defaultConfiguration in src/Plugin/better_exposed_filters/sort/SortWidgetBase.php
Gets default configuration for this plugin.

File

src/Plugin/BetterExposedFiltersWidgetBase.php, line 46

Class

BetterExposedFiltersWidgetBase
Base class for Better exposed filters widget plugins.

Namespace

Drupal\better_exposed_filters\Plugin

Code

public function defaultConfiguration() {
  return [
    'plugin_id' => $this->pluginId,
  ];
}