You are here

public function bat_event_handler_blocking_filter::admin_summary in Booking and Availability Management Tools for Drupal 7

Display the filter on the administrative summary.

Overrides views_handler_filter_boolean_operator::admin_summary

File

modules/bat_event/views/bat_event_handler_blocking_filter.inc, line 70

Class

bat_event_handler_blocking_filter

Code

public function admin_summary() {
  if ($this
    ->is_a_group()) {
    return t('grouped');
  }
  if (!empty($this->options['exposed'])) {
    return t('exposed');
  }
  if (empty($this->value_options)) {
    $this
      ->get_value_options();
  }
  return $this->value_options[$this->value];
}