function views_handler::validate

Same name in other branches
  1. 7.x-3.x includes/handlers.inc \views_handler::validate()

Validates the handler against the complete View.

This is called when the complete View is being validated. For validating the handler options form use options_validate().

Return value

Empty array if the handler is valid; an array of error strings if it is not.

See also

views_handler::options_validate()

1 method overrides views_handler::validate()
views_handler_filter_in_operator::validate in handlers/views_handler_filter_in_operator.inc
Validates the handler against the complete View.

File

includes/handlers.inc, line 735

Class

views_handler
Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.

Code

function validate() {
    return array();
}