public function FormStateDecoratorBase::setValidateHandlers in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setValidateHandlers()
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\FormCode
public function setValidateHandlers(array $validate_handlers) {
$this->decoratedFormState
->setValidateHandlers($validate_handlers);
return $this;
}