FormStateDecoratorBase::setValidateHandlers

public FormStateDecoratorBase::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/FormStateDecoratorBase.php, line 386

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function setValidateHandlers(array $validate_handlers) {
  $this->decoratedFormState->setValidateHandlers($validate_handlers);

  return $this;
}
doc_Drupal
2016-10-29 09:16:28
Comments
Leave a Comment

Please login to continue.