You are here

function views_handler_filter::exposed_info in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_filter.inc \views_handler_filter::exposed_info()
  2. 7.3 handlers/views_handler_filter.inc \views_handler_filter::exposed_info()

Tell the renderer about our exposed form. This only needs to be overridden for particularly complex forms. And maybe not even then.

Overrides views_handler::exposed_info

File

handlers/views_handler_filter.inc, line 490

Class

views_handler_filter
Base class for filters.

Code

function exposed_info() {
  if (empty($this->options['exposed'])) {
    return;
  }
  return array(
    'operator' => $this->options['expose']['operator'],
    'value' => $this->options['expose']['identifier'],
    'label' => $this->options['expose']['label'],
  );
}