function google_analytics_reports_handler_filter_string::admin_summary in Google Analytics Reports 7.3
Display the filter on the administrative summary.
Overrides views_handler_filter::admin_summary
File
- handlers/
google_analytics_reports_handler_filter_string.inc, line 71 - Definition of google_analytics_reports_handler_filter_string.
Class
- google_analytics_reports_handler_filter_string
- Basic textfield filter to handle string filtering commands.
Code
function admin_summary() {
if (!empty($this->options['exposed'])) {
return t('exposed');
}
$options = $this
->operator_options('short');
$output = '';
if (!empty($options[$this->operator])) {
$output = check_plain($options[$this->operator]);
}
if (in_array($this->operator, $this
->operator_values(1))) {
$output .= ' ' . check_plain($this->value);
}
return $output;
}