public function FormState::setProcessInput in Drupal 9
Same name and namespace in other branches
- 8 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 657
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function setProcessInput($process_input = TRUE) {
$this->process_input = (bool) $process_input;
return $this;
}