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