public function FormStateInterface::setLimitValidationErrors in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setLimitValidationErrors()
- 9 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
1 method overrides FormStateInterface::setLimitValidationErrors()
- 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 737
Class
- FormStateInterface
- Provides an interface for an object containing the current state of a form.
Namespace
Drupal\Core\FormCode
public function setLimitValidationErrors($limit_validation_errors);