FormStateDecoratorBase::isValidationEnforced

public FormStateDecoratorBase::isValidationEnforced()

Checks if validation is enforced.

Return value

bool If TRUE, validation will always be run.

Overrides FormStateInterface::isValidationEnforced

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 187

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function isValidationEnforced() {
  return $this->decoratedFormState->isValidationEnforced();
}
doc_Drupal
2016-10-29 09:16:21
Comments
Leave a Comment

Please login to continue.