Search for Constraint
- Search 7.x for Constraint
- Search 9.5.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 |
|---|---|---|---|
| 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::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityWorkspaceConflictConstraintValidator::$workspaceAssociation | property | core/ |
The workspace association service. |
| EntityWorkspaceConflictConstraintValidator::$workspaceManager | property | core/ |
The workspace manager service. |
| EntityWorkspaceConflictConstraintValidator::$workspaceRepository | property | core/ |
The workspace repository service. |
| EntityWorkspaceConflictConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| EntityWorkspaceConflictConstraintValidator::validate | function | core/ |
|
| EntityWorkspaceConflictConstraintValidator::__construct | function | core/ |
Constructs an EntityUntranslatableFieldsConstraintValidator object. |
| 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::$constraint | property | core/ |
The currently validated constraint. |
| ExecutionContext::$validatedConstraints | property | core/ |
Stores which class constraint has been validated for which object. |
| ExecutionContext::isConstraintValidated | function | core/ |
|
| ExecutionContext::markConstraintAsValidated | function | core/ |
|
| ExecutionContext::setConstraint | function | core/ |
|
| FeedTitleConstraint | class | core/ |
Supports validating feed titles. |
| FeedTitleConstraint.php | file | core/ |
|
| FeedTitleConstraint::$message | property | core/ |
|
| FeedUrlConstraint | class | core/ |
Supports validating feed URLs. |
| FeedUrlConstraint.php | file | core/ |
|
| FeedUrlConstraint::$message | property | core/ |
|
| 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. The values are associative array of constraint options keyed by constraint plugin ID. |
| FieldConfigBase::addConstraint | function | core/ |
Adds a validation constraint to the FieldItemList. |
| FieldConfigBase::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
| FieldConfigBase::getConstraint | function | core/ |
Returns a validation constraint. |
| FieldConfigBase::getConstraints | function | core/ |
Returns an array of validation constraints. |
| FieldConfigBase::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
| FieldConfigBase::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
| FieldConfigInterface::addConstraint | function | core/ |
Adds a validation constraint to the FieldItemList. |
| FieldConfigInterface::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
| FieldConfigInterface::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
| FieldConfigInterface::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
| FieldCrudTest::doFieldPropertyConstraintsTests | function | core/ |
Tests configurable field validation. |
| FieldCrudTest::testFieldPropertyConstraints | function | core/ |
Tests setting and adding property constraints to a configurable field. |
| FieldItemList::getConstraints | function | core/ |
Gets a list of validation constraints. |
| FieldStorageConfig::getConstraint | function | core/ |
Returns a validation constraint. |
| FieldStorageConfig::getConstraints | function | core/ |
Returns an array of validation constraints. |
| FieldStorageDefinitionInterface::getConstraint | function | core/ |
Returns a validation constraint. |
| FieldStorageDefinitionInterface::getConstraints | function | core/ |
Returns an array of validation constraints. |
| FieldValidationTest::testCardinalityConstraint | function | core/ |
Tests that the number of values is validated against the field cardinality. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.