You are here

public function FormStateDecoratorBase::getLimitValidationErrors in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getLimitValidationErrors()

Retrieves the limited validation error sections.

Return value

array|null The limited validation error sections.

Overrides FormStateInterface::getLimitValidationErrors

See also

\Drupal\Core\Form\FormState::$limit_validation_errors

1 call to FormStateDecoratorBase::getLimitValidationErrors()
SubformState::getLimitValidationErrors in core/lib/Drupal/Core/Form/SubformState.php
Retrieves the limited validation error sections.
1 method overrides FormStateDecoratorBase::getLimitValidationErrors()
SubformState::getLimitValidationErrors in core/lib/Drupal/Core/Form/SubformState.php
Retrieves the limited validation error sections.

File

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

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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