public function DateItemProcessor::defaultConfiguration in Facets 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ProcessorPluginBase::defaultConfiguration
File
- src/
Plugin/ facets/ processor/ DateItemProcessor.php, line 94
Class
- DateItemProcessor
- Provides a processor for dates.
Namespace
Drupal\facets\Plugin\facets\processorCode
public function defaultConfiguration() {
return [
'date_display' => 'actual_date',
'granularity' => SearchApiDate::FACETAPI_DATE_MONTH,
'date_format' => '',
];
}