public function FormState::setLimitValidationErrors in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setLimitValidationErrors()
Sets the limited validation error sections.
Parameters
array|null $limit_validation_errors: The limited validation error sections.
Return value
$this
Overrides FormStateInterface::setLimitValidationErrors
See also
\Drupal\Core\Form\FormState::$limit_validation_errors
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 574
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function setLimitValidationErrors($limit_validation_errors) {
$this->limit_validation_errors = $limit_validation_errors;
return $this;
}