1 views_handler_filter.inc views_handler_filter::options_validate(&$form, &$form_state)

Simple validate handler

Overrides views_handler::options_validate

File

core/modules/views/handlers/views_handler_filter.inc, line 230
@todo.

Class

views_handler_filter
Base class for filters.

Code

function options_validate(&$form, &$form_state) {
  $this->operator_validate($form, $form_state);
  $this->value_validate($form, $form_state);
  if (!empty($this->options['exposed']) && !$this->is_a_group()) {
    $this->expose_validate($form, $form_state);
  }
  if ($this->is_a_group()) {
    $this->build_group_validate($form, $form_state);
  }
}