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 |
|---|---|---|---|
| PrimitiveTypeConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| PrimitiveTypeConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator[[api-linebreak]] @group validation |
| PrimitiveTypeConstraintValidatorTest.php | file | core/ |
|
| PrimitiveTypeConstraintValidatorTest::provideTestValidate | function | core/ |
|
| PrimitiveTypeConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| ProtectedUserFieldConstraint | class | core/ |
Checks if the plain text password is provided for editing a protected field. |
| ProtectedUserFieldConstraint.php | file | core/ |
|
| ProtectedUserFieldConstraint::$message | property | core/ |
Violation message. |
| ProtectedUserFieldConstraintValidator | class | core/ |
Validates the ProtectedUserFieldConstraint constraint. |
| ProtectedUserFieldConstraintValidator.php | file | core/ |
|
| ProtectedUserFieldConstraintValidator::$currentUser | property | core/ |
The current user. |
| ProtectedUserFieldConstraintValidator::$userStorage | property | core/ |
User storage handler. |
| ProtectedUserFieldConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| ProtectedUserFieldConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| ProtectedUserFieldConstraintValidator::__construct | function | core/ |
Constructs the object. |
| ProtectedUserFieldConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator[[api-linebreak]] @group user |
| ProtectedUserFieldConstraintValidatorTest.php | file | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::createValidator | function | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| ProtectedUserFieldConstraintValidatorTest::validate | function | core/ |
Perform the validation. |
| RangeConstraint | class | core/ |
Range constraint. |
| RangeConstraint.php | file | core/ |
|
| RangeConstraint::__construct | function | core/ |
|
| RangeConstraintValidator | class | core/ |
Validator for the Drupal 'range' constraint. |
| RangeConstraintValidator.php | file | core/ |
|
| RangeConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| 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::validatedBy | function | core/ |
@todo Add method return type declaration. |
| RequiredConfigDependenciesConstraint | class | core/ |
Checks that config dependencies contain specific types of entities. |
| RequiredConfigDependenciesConstraint.php | file | core/ |
|
| RequiredConfigDependenciesConstraint::$entityTypes | property | core/ |
The IDs of entity types that need to exist in config dependencies. |
| RequiredConfigDependenciesConstraint::$message | property | core/ |
The error message. |
| RequiredConfigDependenciesConstraint::getDefaultOption | function | core/ |
|
| RequiredConfigDependenciesConstraint::getRequiredOptions | function | core/ |
|
| RequiredConfigDependenciesConstraintValidator | class | core/ |
Validates the RequiredConfigDependencies constraint. |
| RequiredConfigDependenciesConstraintValidator.php | file | core/ |
|
| RequiredConfigDependenciesConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager service. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.