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 657

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;
}
doc_Drupal
2016-10-29 09:16:05
Comments
Leave a Comment

Please login to continue.