function FormStateDecoratorBase::setLimitValidationErrors

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setLimitValidationErrors()
  2. 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setLimitValidationErrors()
  3. 11.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setLimitValidationErrors()

Overrides FormStateInterface::setLimitValidationErrors

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

File

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

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.