public SubformState::setLimitValidationErrors($limit_validation_errors)
Sets the limited validation error sections.
Parameters
array|null $limit_validation_errors: The limited validation error sections.
Return value
$this
Overrides FormStateDecoratorBase::setLimitValidationErrors
See also
\Drupal\Core\Form\FormState::$limit_validation_errors
File
- core/lib/Drupal/Core/Form/SubformState.php, line 122
Class
- SubformState
- Stores information about the state of a subform.
Namespace
Drupal\Core\Form
Code
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); }
Please login to continue.