ConstraintViolationBuilder::$code
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php \Drupal\Core\TypedData\Validation\ConstraintViolationBuilder::code
- 8.9.x core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php \Drupal\Core\TypedData\Validation\ConstraintViolationBuilder::code
- 11.x core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php \Drupal\Core\Validation\ConstraintViolationBuilder::code
The code.
Type: code
File
-
core/
lib/ Drupal/ Core/ Validation/ ConstraintViolationBuilder.php, line 30
Class
- ConstraintViolationBuilder
- A constraint violation builder for the basic Symfony validator.
Namespace
Drupal\Core\ValidationCode
protected mixed $code = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.