public function SubFormState::setValidateHandlers in Authorization 8
Sets the validate handlers.
Parameters
array $validate_handlers: An array of validate handlers.
Return value
$this
Overrides FormStateInterface::setValidateHandlers
File
- src/
Form/ SubFormState.php, line 784
Class
- SubFormState
- Represents the form state of a sub-form.
Namespace
Drupal\authorization\FormCode
public function setValidateHandlers(array $validate_handlers) {
$this->mainFormState
->setValidateHandlers($validate_handlers);
return $this;
}