public TypedDataInterface::validate()
Validates the currently set data value.
Return value
\Symfony\Component\Validator\ConstraintViolationListInterface A list of constraint violations. If the list is empty, validation succeeded.
File
- core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 90
Class
- TypedDataInterface
- Interface for typed data objects.
Namespace
Drupal\Core\TypedData
Code
public function validate();
Please login to continue.