public function BatEventHandlerBlockingFilter::adminSummary in Booking and Availability Management Tools for Drupal 8
Display the filter on the administrative summary
Overrides BooleanOperator::adminSummary
File
- modules/
bat_event/ src/ Plugin/ views/ filter/ BatEventHandlerBlockingFilter.php, line 86
Class
- BatEventHandlerBlockingFilter
- Plugin annotation @ViewsFilter("bat_event_handler_blocking_filter");
Namespace
Drupal\bat_event\Plugin\views\filterCode
public function adminSummary() {
if ($this
->isAGroup()) {
return t('grouped');
}
if (!empty($this->options['exposed'])) {
return t('exposed');
}
if (empty($this->valueOptions)) {
$this
->getValueOptions();
}
return $this->valueOptions[$this->value];
}