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 11.x for getConstraints
  5. Other projects
Title Object type File name Summary
ConfigEntityType::getConstraints function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Context::getConstraints function core/lib/Drupal/Component/Plugin/Context/Context.php
Context::getConstraints function core/lib/Drupal/Core/Plugin/Context/Context.php
ContextDefinition::getConstraints function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
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
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
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
EntityAdapterUnitTest::testGetConstraints function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getConstraints
EntityReferenceFieldItemList::getConstraints function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityType::getConstraints function core/lib/Drupal/Core/Entity/EntityType.php
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
FieldItemList::getConstraints function core/lib/Drupal/Core/Field/FieldItemList.php
FieldStorageConfig::getConstraints function core/modules/field/src/Entity/FieldStorageConfig.php Returns an array of validation constraints.
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
NumericItemBase::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
StringItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
TelephoneItem::getConstraints function core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php Gets a list of validation constraints.
TestItem::getConstraints function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Gets a list of validation constraints.
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
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.