function MetadataInterface::getConstraints
Returns all constraints of this element.
Return value
2 methods override MetadataInterface::getConstraints()
- GenericMetadata::getConstraints in vendor/
symfony/ validator/ Mapping/ GenericMetadata.php - TypedDataMetadata::getConstraints in core/
lib/ Drupal/ Core/ TypedData/ Validation/ TypedDataMetadata.php - Returns all constraints of this element.
File
-
vendor/
symfony/ validator/ Mapping/ MetadataInterface.php, line 52
Class
- MetadataInterface
- A container for validation metadata.
Namespace
Symfony\Component\Validator\MappingCode
public function getConstraints() : array;