FormStateInterface::setValidationEnforced

public FormStateInterface::setValidationEnforced($must_validate = TRUE)

Enforces that validation is run.

Parameters

bool $must_validate: If TRUE, validation will always be run.

Return value

$this

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 801

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function setValidationEnforced($must_validate = TRUE);
doc_Drupal
2016-10-29 09:16:45
Comments
Leave a Comment

Please login to continue.