public function views_handler::validate in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 includes/handlers.inc \views_handler::validate()
- 6.2 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
array 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 780 - 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
public function validate() {
return array();
}