function TypedDataMetadata::getConstraints

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php \Drupal\Core\TypedData\Validation\TypedDataMetadata::getConstraints()
  2. 10 core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php \Drupal\Core\TypedData\Validation\TypedDataMetadata::getConstraints()
  3. 11.x core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php \Drupal\Core\TypedData\Validation\TypedDataMetadata::getConstraints()
1 call to TypedDataMetadata::getConstraints()
TypedDataMetadata::findConstraints in core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php

File

core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php, line 44

Class

TypedDataMetadata
Validator metadata for typed data objects.

Namespace

Drupal\Core\TypedData\Validation

Code

public function getConstraints() {
    return $this->typedData
        ->getConstraints();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.