public function FormStateInterface::setLimitValidationErrors in Drupal 8
Same name and namespace in other branches
- 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
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);