Search for constraints
- Search 7.x for constraints
- Search 8.9.x for constraints
- Search 10.3.x for constraints
- Search 11.x for constraints
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BaseFieldDefinition::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
| BaseFieldDefinition::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
| ConstraintsTest | class | core/ |
Tests various low level constrains provided by core. |
| ConstraintsTest.php | file | core/ |
|
| ConstraintsTest::$modules | property | core/ |
Modules to enable. |
| ConstraintsTest::setUp | function | core/ |
|
| ConstraintsTest::testUuid | function | core/ |
|
| Context::getConstraints | function | core/ |
Gets a list of validation constraints. |
| Context::getConstraints | function | core/ |
Gets a list of validation constraints. |
| ContextDefinition::$constraints | property | core/ |
An array of constraints. |
| ContextDefinition::getConstraints | function | core/ |
Gets an array of validation constraints. |
| ContextDefinition::setConstraints | function | core/ |
Sets the array of validation constraints. |
| ContextDefinitionInterface::getConstraints | function | core/ |
Gets an array of validation constraints. |
| ContextDefinitionInterface::setConstraints | function | core/ |
Sets the array of validation constraints. |
| ContextDefinitionTest::testConstraints | function | core/ |
Tests adding constraints via annotations. |
| ContextInterface::getConstraints | function | core/ |
Gets a list of validation constraints. |
| DataDefinition::getConstraints | function | core/ |
Returns an array of validation constraints. |
| DataDefinition::setConstraints | function | core/ |
Sets an array of validation constraints. |
| DataDefinitionInterface::getConstraints | function | core/ |
Returns an array of validation constraints. |
| DataReferenceTargetDefinition::getConstraints | function | core/ |
Returns an array of validation constraints. |
| DataType::$constraints | property | core/ |
An array of validation constraints for this type. |
| DecimalItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| Dependency::$constraintString | property | core/ |
The constraint string. |
| Dependency::getConstraintString | function | core/ |
Gets constraint string from the dependency. |
| EmailItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityAdapterUnitTest::testGetConstraints | function | core/ |
@covers ::getConstraints[[api-linebreak]] |
| EntityConstraintViolationListTest::testFilterByFieldsWithCompositeConstraints | function | core/ |
@covers ::filterByFields[[api-linebreak]] |
| EntityReferenceFieldItemList::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityReferenceItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityTestConstraints | class | core/ |
Defines a test class for testing the definition of entity level constraints. |
| EntityTestConstraints.php | file | core/ |
|
| EntityTestConstraints::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
| EntityType::$constraints | property | core/ |
Entity constraint definitions. |
| EntityType::getConstraints | function | core/ |
Gets an array of validation constraints. |
| EntityType::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
| EntityTypeConstraintsTest | class | core/ |
Tests entity level validation constraints. |
| EntityTypeConstraintsTest.php | file | core/ |
|
| EntityTypeConstraintsTest::setUp | function | core/ |
|
| EntityTypeConstraintsTest::testConstraintDefinition | function | core/ |
Tests defining entity constraints via entity type annotations and hooks. |
| EntityTypeConstraintsTest::testConstraintValidation | function | core/ |
Tests entity constraints are validated. |
| EntityTypeInterface::getConstraints | function | core/ |
Gets an array of validation constraints. |
| EntityTypeInterface::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
| entity_test_constraints.info.yml | file | core/ |
core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.info.yml |
| entity_test_constraints.module | file | core/ |
Test module file. |
| entity_test_constraints_entity_type_alter | function | core/ |
Implements hook_entity_type_alter(). |
| entity_test_constraints_entity_type_build | function | core/ |
Implements hook_entity_type_build(). |
| ExecutionContext::$validatedConstraints | property | core/ |
Stores which class constraint has been validated for which object. |
| FieldConfigBase::$constraints | property | core/ |
Array of constraint options keyed by constraint plugin ID. |
| FieldConfigBase::$propertyConstraints | property | core/ |
Array of property constraint options keyed by property ID. |
| FieldConfigBase::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.