You are here

public function SubFormState::isValidationEnforced in Authorization 8

Checks if validation is enforced.

Return value

bool If TRUE, validation will always be run.

Overrides FormStateInterface::isValidationEnforced

File

src/Form/SubFormState.php, line 612

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function isValidationEnforced() : bool {
  return $this->mainFormState
    ->isValidationEnforced();
}