Search for Constraint
- Search 7.x for Constraint
- Search 8.9.x for Constraint
- Search 10.3.x for Constraint
- Search 11.x for Constraint
- Search main for Constraint
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Constraint | class | core/ |
Defines a validation constraint annotation object. |
| Constraint | class | core/ |
A value object representing a Drupal version constraint. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityHasFieldConstraint::$message | property | core/ |
The default violation message. |
| EntityHasFieldConstraint::$notFieldableMessage | property | core/ |
The violation message for non-fieldable entities. |
| EntityHasFieldConstraint::getDefaultOption | function | core/ |
|
| EntityHasFieldConstraint::getRequiredOptions | function | core/ |
|
| EntityHasFieldConstraintValidator | class | core/ |
Validates the EntityHasField constraint. |
| EntityHasFieldConstraintValidator.php | file | core/ |
|
| EntityHasFieldConstraintValidator::validate | function | core/ |
|
| EntityHasFieldConstraintValidatorTest | class | core/ |
@covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator[[api-linebreak]] |
| EntityHasFieldConstraintValidatorTest.php | file | core/ |
|
| EntityHasFieldConstraintValidatorTest::$modules | property | core/ |
Modules to enable. |
| EntityHasFieldConstraintValidatorTest::setUp | function | core/ |
|
| EntityHasFieldConstraintValidatorTest::testValidation | function | core/ |
|
| EntityReferenceFieldItemList::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityReferenceItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityReferenceSupportedNewEntitiesConstraint | class | core/ |
The entity reference supported new entities constraint. |
| EntityReferenceSupportedNewEntitiesConstraint.php | file | core/ |
|
| EntityReferenceSupportedNewEntitiesConstraint::$message | property | core/ |
The default violation message. |
| EntityReferenceSupportedNewEntitiesConstraintValidator | class | core/ |
Checks if new entities created for entity reference fields are supported. |
| EntityReferenceSupportedNewEntitiesConstraintValidator.php | file | core/ |
|
| EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager | property | core/ |
The workspace manager. |
| EntityReferenceSupportedNewEntitiesConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| EntityReferenceSupportedNewEntitiesConstraintValidator::validate | function | core/ |
|
| EntityReferenceSupportedNewEntitiesConstraintValidator::__construct | function | core/ |
Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance. |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator[[api-linebreak]] @group workspaces |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php | file | core/ |
|
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules | property | core/ |
Modules to enable. |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp | function | core/ |
|
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityTestCompositeConstraint | class | core/ |
Defines a test class for testing composite constraints. |
| EntityTestCompositeConstraint | class | core/ |
Constraint with multiple fields. |
| EntityTestCompositeConstraint.php | file | core/ |
|
| EntityTestCompositeConstraint.php | file | core/ |
|
| EntityTestCompositeConstraint::$message | property | core/ |
|
| EntityTestCompositeConstraint::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
| EntityTestCompositeConstraint::coversFields | function | core/ |
An array of entity fields which should be passed to the validator. |
| EntityTestCompositeConstraintValidator | class | core/ |
Constraint validator for the EntityTestComposite constraint. |
| EntityTestCompositeConstraintValidator.php | file | core/ |
|
| EntityTestCompositeConstraintValidator::$context | property | core/ |
Validator 2.5 and upwards compatible execution context. |
| EntityTestCompositeConstraintValidator::validate | 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/ |
Provides base field definitions for an entity type. |
| EntityTestConstraintViolation | class | core/ |
Defines the test entity class for testing entity constraint violations. |
| EntityTestConstraintViolation.php | file | core/ |
|
| EntityTestConstraintViolation::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
| EntityType::$constraints | property | core/ |
Entity constraint definitions. |
| EntityType::addConstraint | function | core/ |
Adds a validation constraint. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.