public ConstraintViolationBuilder::setInvalidValue($invalidValue)
Sets the invalid value that caused this violation.
Parameters
mixed $invalidValue The invalid value:
Return value
ConstraintViolationBuilderInterface This builder
Overrides ConstraintViolationBuilderInterface::setInvalidValue
File
- core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php, line 176
Class
- ConstraintViolationBuilder
- Defines a constraint violation builder for the Typed Data validator.
Namespace
Drupal\Core\TypedData\Validation
Code
public function setInvalidValue($invalidValue) { $this->invalidValue = $invalidValue; return $this; }
Please login to continue.