function SubformState::setLimitValidationErrors
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::setLimitValidationErrors()
- 10 core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::setLimitValidationErrors()
- 11.x core/lib/Drupal/Core/Form/SubformState.php \Drupal\Core\Form\SubformState::setLimitValidationErrors()
Overrides FormStateDecoratorBase::setLimitValidationErrors
File
-
core/
lib/ Drupal/ Core/ Form/ SubformState.php, line 122
Class
- SubformState
- Stores information about the state of a subform.
Namespace
Drupal\Core\FormCode
public function setLimitValidationErrors($limit_validation_errors) {
if (is_array($limit_validation_errors)) {
$limit_validation_errors = array_merge($this->getParents('#parents'), $limit_validation_errors);
}
return parent::setLimitValidationErrors($limit_validation_errors);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.