function FormStateInterface::setLimitValidationErrors

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

Sets the limited validation error sections.

Parameters

array|null $limit_validation_errors: The limited validation error sections.

Return value

$this

See also

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

2 methods override FormStateInterface::setLimitValidationErrors()
FormState::setLimitValidationErrors in core/lib/Drupal/Core/Form/FormState.php
Sets the limited validation error sections.
FormStateDecoratorBase::setLimitValidationErrors in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Sets the limited validation error sections.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 782

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function setLimitValidationErrors($limit_validation_errors);

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