Search for Constraint
- Search 7.x for Constraint
- Search 9.5.x for Constraint
- Search 8.9.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 Constraint attribute object. |
| 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 |
|---|---|---|---|
| EntityTypeConstraint.php | file | core/ |
|
| EntityTypeConstraint::$message | property | core/ |
The default violation message. |
| EntityTypeConstraint::$type | property | core/ |
The entity type option. |
| EntityTypeConstraint::getDefaultOption | function | core/ |
|
| EntityTypeConstraint::getRequiredOptions | function | core/ |
|
| 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. |
| EntityTypeConstraintValidator | class | core/ |
Validates the EntityType constraint. |
| EntityTypeConstraintValidator.php | file | core/ |
|
| EntityTypeConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| EntityTypeConstraintValidatorTest | class | core/ |
Tests validation constraints for EntityTypeConstraintValidator. |
| EntityTypeConstraintValidatorTest.php | file | core/ |
|
| EntityTypeConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| EntityTypeConstraintValidatorTest::$typedData | property | core/ |
The typed data manager to use. |
| EntityTypeConstraintValidatorTest::setUp | function | core/ |
|
| EntityTypeConstraintValidatorTest::testValidation | function | core/ |
Tests the EntityTypeConstraintValidator. |
| EntityTypeInterface::addConstraint | function | core/ |
Adds a validation constraint. |
| EntityTypeInterface::getConstraints | function | core/ |
Gets an array of validation constraints. |
| EntityTypeInterface::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
| EntityTypeTest::testConstraintMethods | function | core/ |
Tests the constraint methods. |
| EntityUntranslatableFieldsConstraint | class | core/ |
Validation constraint for the entity changed timestamp. |
| EntityUntranslatableFieldsConstraint.php | file | core/ |
|
| EntityUntranslatableFieldsConstraint::$defaultRevisionMessage | property | core/ |
|
| EntityUntranslatableFieldsConstraint::$defaultTranslationMessage | property | core/ |
|
| EntityUntranslatableFieldsConstraintValidator | class | core/ |
Validates the EntityChanged constraint. |
| EntityUntranslatableFieldsConstraintValidator.php | file | core/ |
|
| EntityUntranslatableFieldsConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityUntranslatableFieldsConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| EntityUntranslatableFieldsConstraintValidator::hasUntranslatableFieldsChanges | function | core/ |
Checks whether an entity has untranslatable field changes. |
| EntityUntranslatableFieldsConstraintValidator::validate | function | core/ |
|
| EntityUntranslatableFieldsConstraintValidator::__construct | function | core/ |
Constructs an EntityUntranslatableFieldsConstraintValidator object. |
| EntityValidationTest::testCompositeConstraintValidation | function | core/ |
Tests composite constraints. |
| EntityValidationTest::testEntityChangedConstraintOnConcurrentMultilingualEditing | function | core/ |
Tests the EntityChangedConstraintValidator with multiple translations. |
| EntityWorkspaceConflictConstraint | class | core/ |
Validation constraint for an entity being edited in multiple workspaces. |
| EntityWorkspaceConflictConstraint.php | file | core/ |
|
| EntityWorkspaceConflictConstraint::$message | property | core/ |
The default violation message. |
| EntityWorkspaceConflictConstraintValidator | class | core/ |
Validates the EntityWorkspaceConflict constraint. |
| EntityWorkspaceConflictConstraintValidator.php | file | core/ |
|
| EntityWorkspaceConflictConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| EntityWorkspaceConflictConstraintValidator::validate | function | core/ |
|
| EntityWorkspaceConflictConstraintValidator::__construct | function | core/ |
|
| EntityWorkspaceConflictConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraintValidator[[api-linebreak]] @group workspaces |
| EntityWorkspaceConflictConstraintValidatorTest.php | file | core/ |
|
| EntityWorkspaceConflictConstraintValidatorTest::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityWorkspaceConflictConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| EntityWorkspaceConflictConstraintValidatorTest::reloadEntity | function | core/ |
Reloads the given entity from the storage and returns it. |
| EntityWorkspaceConflictConstraintValidatorTest::setUp | function | core/ |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.