You are here

public function FormState::setProcessInput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::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/FormState.php, line 660
Contains \Drupal\Core\Form\FormState.

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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