FormState::setValidateHandlers

public FormState::setValidateHandlers(array $validate_handlers)

Sets the validate handlers.

Parameters

array $validate_handlers: An array of validate handlers.

Return value

$this

Overrides FormStateInterface::setValidateHandlers

File

core/lib/Drupal/Core/Form/FormState.php, line 827

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setValidateHandlers(array $validate_handlers) {
  $this->validate_handlers = $validate_handlers;
  return $this;
}
doc_Drupal
2016-10-29 09:16:09
Comments
Leave a Comment

Please login to continue.