You are here

public function FormStateDecoratorBase::setValidateHandlers in Markdown 8.2

Sets the validate handlers.

Parameters

array $validate_handlers: An array of validate handlers.

Return value

$this

Overrides FormStateInterface::setValidateHandlers

File

src/BcSupport/FormStateDecoratorBase.php, line 394

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

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