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 |
|---|---|---|---|
| ProtectedUserFieldConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator[[api-linebreak]] @group user |
| ProtectedUserFieldConstraintValidatorTest.php | file | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::createValidator | function | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::providerTestValidate | function | core/ |
Data provider for ::testValidate(). |
| ProtectedUserFieldConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| RangeConstraint | class | core/ |
Range constraint. |
| RangeConstraint.php | file | core/ |
|
| RangeConstraint::$maxMessage | property | core/ |
|
| RangeConstraint::$minMessage | property | core/ |
|
| RangeConstraintValidator | class | core/ |
Validator for the Drupal 'range' constraint. |
| RangeConstraintValidator.php | file | core/ |
|
| RangeConstraintValidator::validate | function | core/ |
|
| RecursiveContextualValidator::$constraintValidatorFactory | property | core/ |
The constraint validator factory. |
| RecursiveContextualValidator::validateConstraints | function | core/ |
Validates a node's value against all constraints in the given group. |
| RecursiveContextualValidatorTest::testBasicValidateWithConstraint | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveContextualValidatorTest::testBasicValidateWithoutConstraints | function | core/ |
@covers ::validate[[api-linebreak]] |
| RecursiveValidator::$constraintValidatorFactory | property | core/ |
|
| ReferenceAccessConstraint | class | core/ |
Entity Reference valid reference constraint. |
| ReferenceAccessConstraint.php | file | core/ |
|
| ReferenceAccessConstraint::$message | property | core/ |
The default violation message. |
| ReferenceAccessConstraintValidator | class | core/ |
Checks if the current user has access to newly referenced entities. |
| ReferenceAccessConstraintValidator.php | file | core/ |
|
| ReferenceAccessConstraintValidator::validate | function | core/ |
|
| RegexConstraint | class | core/ |
Regex constraint. |
| RegexConstraint.php | file | core/ |
|
| RegexConstraint::$message | property | core/ |
|
| RegexConstraint::validatedBy | function | core/ |
|
| RestTestConstraint | class | core/ |
Adds some validations for a REST test field. |
| RestTestConstraint.php | file | core/ |
|
| RestTestConstraint::$message | property | core/ |
|
| RestTestConstraintValidator | class | core/ |
Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint. |
| RestTestConstraintValidator.php | file | core/ |
|
| RestTestConstraintValidator::validate | function | core/ |
|
| Schema::constraintExists | function | core/ |
Helper function: check if a constraint (PK, FK, UK) exists. |
| SchemaTest::providerComputedConstraintName | function | core/ |
Data provider for ::testComputedConstraintName(). |
| SchemaTest::testComputedConstraintName | function | core/ |
Tests whether the actual constraint name is correctly computed. |
| SemanticVersion::majorMinorConstraint | function | composer/ |
Given a version, generate a loose ^major.minor constraint. |
| SourceEditingPreventSelfXssConstraint | class | core/ |
For disallowing Source Editing configuration that allows self-XSS. |
| SourceEditingPreventSelfXssConstraint.php | file | core/ |
|
| SourceEditingPreventSelfXssConstraint::$message | property | core/ |
When Source Editing is configured to allow self-XSS. |
| SourceEditingPreventSelfXssConstraintValidator | class | core/ |
Ensures Source Editing cannot be configured to allow self-XSS. |
| SourceEditingPreventSelfXssConstraintValidator.php | file | core/ |
|
| SourceEditingPreventSelfXssConstraintValidator::getRegExForWildCardAttributeName | function | core/ |
Computes a regular expression for matching a wildcard attribute name. |
| SourceEditingPreventSelfXssConstraintValidator::isWildcardAttributeName | function | core/ |
Checks whether the given attribute name contains a wildcard, e.g. `data-*`. |
| SourceEditingPreventSelfXssConstraintValidator::validate | function | core/ |
|
| SourceEditingRedundantTagsConstraint | class | core/ |
For disallowing Source Editing elements already supported by a plugin. |
| SourceEditingRedundantTagsConstraint.php | file | core/ |
|
| SourceEditingRedundantTagsConstraint::$availablePluginsMessage | property | core/ |
When a Source Editing element is added that a disabled plugin supports. |
| SourceEditingRedundantTagsConstraint::$enabledPluginsMessage | property | core/ |
When a Source Editing element is added that an enabled plugin supports. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.