function views_handler::validate
3.x handlers.inc | views_handler::validate() |
2.x 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 730 - Defines the various handler objects to help build and display views.
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();
}