public function FormState::setProcessInput

public FormState::setProcessInput($process_input = TRUE)

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 654

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormState.php/function/FormState::setProcessInput/8.1.x