You are here

function views_handler::validate in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/handlers.inc \views_handler::validate()
  2. 7.3 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()

File

includes/handlers.inc, line 489
handlers.inc 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();
}