Search for constraints
- Search 7.x for constraints
- Search 9.5.x for constraints
- Search 8.9.x for constraints
- Search 10.3.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. |
BlockContentRemoveConstraint::getFieldInfoConstraints | function | core/ |
Get constraints for info field. |
ConfigEntityType::getConstraints | function | core/ |
Gets an array of validation constraints. |
ConfigEntityValidationTestBase::getMachineNameConstraints | function | core/ |
Returns the validation constraints applied to the entity's ID. |
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::testUriHost | 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. |
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 |
EntityConstraintViolationListTest::testFilterByFieldsWithCompositeConstraints | function | core/ |
@covers ::filterByFields |
EntityReferenceFieldItemList::getConstraints | function | core/ |
Gets a list of validation constraints. |
EntityReferenceItem::getConstraints | function | core/ |
|
EntityTestConstraints | class | core/ |
Defines a test class for testing the definition of entity level constraints. |
EntityTestConstraints.php | file | core/ |
|
EntityTestConstraints::baseFieldDefinitions | function | core/ |
|
EntityTestConstraintsHooks | class | core/ |
Hook implementations for entity_test_constraints. |
EntityTestConstraintsHooks.php | file | core/ |
|
EntityTestConstraintsHooks::entityTypeAlter | function | core/ |
Implements hook_entity_type_alter(). |
EntityTestConstraintsHooks::entityTypeBuild | function | core/ |
Implements hook_entity_type_build(). |
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 |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.