public function FormStateInterface::setSubmitHandlers in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setSubmitHandlers()
- 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setSubmitHandlers()
Sets the submit handlers.
Parameters
array $submit_handlers: An array of submit handlers.
Return value
$this
2 methods override FormStateInterface::setSubmitHandlers()
- FormState::setSubmitHandlers in core/
lib/ Drupal/ Core/ Form/ FormState.php - Sets the submit handlers.
- FormStateDecoratorBase::setSubmitHandlers in core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php - Sets the submit handlers.
File
- core/
lib/ Drupal/ Core/ Form/ FormStateInterface.php, line 929
Class
- FormStateInterface
- Provides an interface for an object containing the current state of a form.
Namespace
Drupal\Core\FormCode
public function setSubmitHandlers(array $submit_handlers);