You are here

function crumbs_Admin_ElementObject_Abstract::validate in Crumbs, the Breadcrumbs suite 7.2

Parameters

array &$element: The form element.

array &$form_state:

Return value

bool TRUE, if validation is successful.

1 method overrides crumbs_Admin_ElementObject_Abstract::validate()
crumbs_Admin_ElementObject_WeightsAbstract::validate in lib/Admin/ElementObject/WeightsAbstract.php
Callback for $element['#element_validate']

File

lib/Admin/ElementObject/Abstract.php, line 63

Class

crumbs_Admin_ElementObject_Abstract

Code

function validate(&$element, &$form_state) {

  // TODO: What is the correct "neutral" behavior of a validation callback?
  return TRUE;
}