You are here

public function FormStateDecoratorBase::isValidationEnforced in Markdown 8.2

Checks if validation is enforced.

Return value

bool If TRUE, validation will always be run.

Overrides FormStateInterface::isValidationEnforced

File

src/BcSupport/FormStateDecoratorBase.php, line 195

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function isValidationEnforced() {
  return $this->decoratedFormState
    ->isValidationEnforced();
}