Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setProcessInput()
  2. 9 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;
}