You are here

function mobile_switch_handler_filter::admin_summary in Mobile Switch 7.2

Display the filter on the administrative summary.

Overrides views_handler_filter::admin_summary

File

views/mobile_switch_handler_filter.inc, line 33
mobile_switch_handler_filter_ismobile.inc

Class

mobile_switch_handler_filter
@file mobile_switch_handler_filter_ismobile.inc

Code

function admin_summary() {
  $options = mobile_switch_handler_filter_options();
  $message = '';

  // Check if a supported operating mode enabled.
  if (variable_get('mobile_switch_mobile_theme', 'none') === 'none') {
    $message = ' - ' . t('The used operating mode is not supported.');
  }
  return check_plain((string) $options[$this->operator['value']] . $message);
}