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