You are here

public function MetadataInterface::findConstraints in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/MetadataInterface.php \Symfony\Component\Validator\MetadataInterface::findConstraints()

Returns all constraints for a given validation group.

Parameters

string $group The validation group:

Return value

Constraint[] A list of constraint instances

2 methods override MetadataInterface::findConstraints()
GenericMetadata::findConstraints in vendor/symfony/validator/Mapping/GenericMetadata.php
Aware of the global group (* group).
TypedDataMetadata::findConstraints in core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
Returns all constraints for a given validation group.

File

vendor/symfony/validator/MetadataInterface.php, line 72

Class

MetadataInterface
A container for validation metadata.

Namespace

Symfony\Component\Validator

Code

public function findConstraints($group);