function FormStateInterface::setLimitValidationErrors
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setLimitValidationErrors()
- 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setLimitValidationErrors()
- 11.x 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 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.