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\widgetCode
public function defaultConfiguration() {
return [
'default_option_label' => 'Choose',
] + parent::defaultConfiguration();
}