8.2.x FormStateInterface.php public FormStateInterface::setSubmitHandlers(array $submit_handlers)
8.0.x FormStateInterface.php public FormStateInterface::setSubmitHandlers(array $submit_handlers)
8.1.x FormStateInterface.php public FormStateInterface::setSubmitHandlers(array $submit_handlers)
8.3.x FormStateInterface.php public FormStateInterface::setSubmitHandlers(array $submit_handlers)

Sets the submit handlers.

Parameters

array $submit_handlers: An array of submit handlers.

Return value

$this

1 method overrides FormStateInterface::setSubmitHandlers()
FormState::setSubmitHandlers in core/lib/Drupal/Core/Form/FormState.php

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\Form

Code

public function setSubmitHandlers(array $submit_handlers);