public function UserFlagWidget::defaultConfiguration in Flag Search API 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/ UserFlagWidget.php, line 53
Class
- UserFlagWidget
- The user_flag widget.
Namespace
Drupal\flag_search_api\Plugin\facets\widgetCode
public function defaultConfiguration() {
return [
'flags_label' => "My Flagged Items",
'no_flags_label' => "No Flagged Items Available",
] + parent::defaultConfiguration();
}