You are here

public function FormStateDecoratorBase::setProcessInput in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setProcessInput()

Sets that the form should process input.

Parameters

bool $process_input: If TRUE, the form input will be processed.

Return value

$this

Overrides FormStateInterface::setProcessInput

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 210

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function setProcessInput($process_input = TRUE) {
  $this->decoratedFormState
    ->setProcessInput($process_input);
  return $this;
}