public function DateRecurFilter::adminSummary in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/views/filter/DateRecurFilter.php \Drupal\date_recur\Plugin\views\filter\DateRecurFilter::adminSummary()
- 3.0.x src/Plugin/views/filter/DateRecurFilter.php \Drupal\date_recur\Plugin\views\filter\DateRecurFilter::adminSummary()
- 3.1.x src/Plugin/views/filter/DateRecurFilter.php \Drupal\date_recur\Plugin\views\filter\DateRecurFilter::adminSummary()
Display the filter on the administrative summary.
Overrides FilterPluginBase::adminSummary
File
- src/
Plugin/ views/ filter/ DateRecurFilter.php, line 341
Class
- DateRecurFilter
- Date range/occurrence filter.
Namespace
Drupal\date_recur\Plugin\views\filterCode
public function adminSummary() : TranslatableMarkup {
$granularityLabels = DateRecurGranularityMap::granularityLabels();
$granularity = $this->options['value_granularity'];
return $granularityLabels[$granularity];
}