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 |
|---|---|---|---|
| ContextDefinitionTest::providerGetConstraint | function | core/ |
Data provider for testGetConstraint. |
| ContextDefinitionTest::testConstraints | function | core/ |
Tests adding constraints via annotations. |
| ContextDefinitionTest::testGetConstraint | function | core/ |
@dataProvider providerGetConstraint @covers ::getConstraint[[api-linebreak]] @uses \Drupal |
| ContextInterface::getConstraints | function | core/ |
Gets a list of validation constraints. |
| CountConstraint | class | core/ |
Count constraint. |
| CountConstraint.php | file | core/ |
|
| CountConstraint::$exactMessage | property | core/ |
|
| CountConstraint::$maxMessage | property | core/ |
|
| CountConstraint::$minMessage | property | core/ |
|
| CountConstraint::validatedBy | function | core/ |
|
| DataDefinition::addConstraint | function | core/ |
Adds a validation constraint. |
| DataDefinition::getConstraint | function | core/ |
Returns a validation constraint. |
| DataDefinition::getConstraints | function | core/ |
Returns an array of validation constraints. |
| DataDefinition::setConstraints | function | core/ |
Sets an array of validation constraints. |
| DataDefinitionInterface::addConstraint | function | core/ |
Adds a validation constraint. |
| DataDefinitionInterface::getConstraint | function | core/ |
Returns a validation constraint. |
| 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. |
| DateTimeFormatConstraint | class | core/ |
Validation constraint for DateTime items to ensure the format is correct. |
| DateTimeFormatConstraint.php | file | core/ |
|
| DateTimeFormatConstraint::$badFormat | property | core/ |
Message for when the value isn't in the proper format. |
| DateTimeFormatConstraint::$badType | property | core/ |
Message for when the value isn't a string. |
| DateTimeFormatConstraint::$badValue | property | core/ |
Message for when the value did not parse properly. |
| DateTimeFormatConstraintValidator | class | core/ |
Constraint validator for DateTime items to ensure the format is correct. |
| DateTimeFormatConstraintValidator.php | file | core/ |
|
| DateTimeFormatConstraintValidator::validate | function | core/ |
|
| DecimalItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| DeletedWorkspaceConstraint | class | core/ |
Deleted workspace constraint. |
| DeletedWorkspaceConstraint.php | file | core/ |
|
| DeletedWorkspaceConstraint::$message | property | core/ |
The default violation message. |
| DeletedWorkspaceConstraintValidator | class | core/ |
Checks if data still exists for a deleted workspace ID. |
| DeletedWorkspaceConstraintValidator.php | file | core/ |
|
| DeletedWorkspaceConstraintValidator::$workspaceAssociation | property | core/ |
The workspace association service. |
| DeletedWorkspaceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| DeletedWorkspaceConstraintValidator::validate | function | core/ |
|
| DeletedWorkspaceConstraintValidator::__construct | function | core/ |
Creates a new DeletedWorkspaceConstraintValidator instance. |
| Dependency::$constraint | property | core/ |
The Constraint object from the constraint string. |
| Dependency::$constraintString | property | core/ |
The constraint string. |
| Dependency::getConstraint | function | core/ |
Gets the Constraint object. |
| Dependency::getConstraintString | function | core/ |
Gets constraint string from the dependency. |
| EmailConstraint | class | core/ |
Count constraint. |
| EmailConstraint.php | file | core/ |
|
| EmailConstraint::validatedBy | function | core/ |
|
| EmailConstraint::__construct | function | core/ |
|
| EmailItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EnabledConfigurablePluginsConstraint | class | core/ |
The CKEditor 5 plugin settings. |
| EnabledConfigurablePluginsConstraint.php | file | core/ |
|
| EnabledConfigurablePluginsConstraint::$message | property | core/ |
The default violation message. |
| EnabledConfigurablePluginsConstraintValidator | class | core/ |
Enabled configurable plugin settings validator. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.