TypedDataInterface::validate

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();
doc_Drupal
2016-10-29 09:50:05
Comments
Leave a Comment

Please login to continue.