You are here

public function FormStateDecoratorBase::setSubmitHandlers in Markdown 8.2

Sets the submit handlers.

Parameters

array $submit_handlers: An array of submit handlers.

Return value

$this

Overrides FormStateInterface::setSubmitHandlers

File

src/BcSupport/FormStateDecoratorBase.php, line 307

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function setSubmitHandlers(array $submit_handlers) {
  $this->decoratedFormState
    ->setSubmitHandlers($submit_handlers);
  return $this;
}