1 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()

File

core/modules/views/includes/handlers.inc, line 619
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();
}