You are here

public function DropdownWidget::defaultConfiguration in Facets 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WidgetPluginBase::defaultConfiguration

File

src/Plugin/facets/widget/DropdownWidget.php, line 23

Class

DropdownWidget
The dropdown widget.

Namespace

Drupal\facets\Plugin\facets\widget

Code

public function defaultConfiguration() {
  return [
    'default_option_label' => 'Choose',
  ] + parent::defaultConfiguration();
}