Search for getConstraints

  1. Search 7.x for getConstraints
  2. Search 9.5.x for getConstraints
  3. Search 8.9.x for getConstraints
  4. Search 10.3.x for getConstraints
  5. Other projects
Title Object type File name Summary
ConfigEntityType::getConstraints function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets an array of validation constraints.
Context::getConstraints function core/lib/Drupal/Component/Plugin/Context/Context.php Gets a list of validation constraints.
Context::getConstraints function core/lib/Drupal/Core/Plugin/Context/Context.php Gets a list of validation constraints.
ContextDefinition::getConstraints function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Gets an array of validation constraints.
ContextDefinitionInterface::getConstraints function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets an array of validation constraints.
ContextInterface::getConstraints function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets a list of validation constraints.
DataDefinition::getConstraints function core/lib/Drupal/Core/TypedData/DataDefinition.php Returns an array of validation constraints.
DataDefinitionInterface::getConstraints function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns an array of validation constraints.
DataReferenceTargetDefinition::getConstraints function core/lib/Drupal/Core/TypedData/DataReferenceTargetDefinition.php Returns an array of validation constraints.
Dependency::getConstraintString function core/lib/Drupal/Core/Extension/Dependency.php Gets constraint string from the dependency.
EmailItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php Gets a list of validation constraints.
EntityAdapterUnitTest::testGetConstraints function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getConstraints
EntityReferenceFieldItemList::getConstraints function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php Gets a list of validation constraints.
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityType::getConstraints function core/lib/Drupal/Core/Entity/EntityType.php Gets an array of validation constraints.
EntityTypeInterface::getConstraints function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets an array of validation constraints.
FieldConfigBase::getConstraints function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns an array of validation constraints.
FieldItemList::getConstraints function core/lib/Drupal/Core/Field/FieldItemList.php Gets a list of validation constraints.
FieldStorageConfig::getConstraints function core/modules/field/src/Entity/FieldStorageConfig.php
FieldStorageDefinitionInterface::getConstraints function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns an array of validation constraints.
IntegerItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php Gets a list of validation constraints.
NumericItemBase::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php Gets a list of validation constraints.
StringItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php Gets a list of validation constraints.
TelephoneItem::getConstraints function core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php
TestItem::getConstraints function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
TextItem::getConstraints function core/modules/text/src/Plugin/Field/FieldType/TextItem.php
TextWithSummaryItem::getConstraints function core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php
TypedData::getConstraints function core/lib/Drupal/Core/TypedData/TypedData.php Gets a list of validation constraints.
TypedDataInterface::getConstraints function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Gets a list of validation constraints.
TypedDataMetadata::getConstraints function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php

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