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 |
|---|---|---|---|
| OEmbedResourceConstraint::$unknownProviderMessage | property | core/ |
The error message if the URL does not match any known provider. |
| OEmbedResourceConstraintValidator | class | core/ |
Validates oEmbed resource URLs. |
| OEmbedResourceConstraintValidator.php | file | core/ |
|
| OEmbedResourceConstraintValidator::$logger | property | core/ |
The logger service. |
| OEmbedResourceConstraintValidator::$resourceFetcher | property | core/ |
The resource fetcher service. |
| OEmbedResourceConstraintValidator::$urlResolver | property | core/ |
The oEmbed URL resolver service. |
| OEmbedResourceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| OEmbedResourceConstraintValidator::handleException | function | core/ |
Handles exceptions that occur during validation. |
| OEmbedResourceConstraintValidator::validate | function | core/ |
|
| OEmbedResourceConstraintValidator::__construct | function | core/ |
Constructs a new OEmbedResourceConstraintValidator. |
| OEmbedResourceConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator[[api-linebreak]] |
| OEmbedResourceConstraintValidatorTest.php | file | core/ |
|
| OEmbedResourceConstraintValidatorTest::$modules | property | core/ |
Modules to enable. |
| OEmbedResourceConstraintValidatorTest::getValue | function | core/ |
Wraps a media entity in an anonymous class to mock a field value. |
| OEmbedResourceConstraintValidatorTest::setUp | function | core/ |
|
| OEmbedResourceConstraintValidatorTest::testValidateEmptySource | function | core/ |
@covers ::validate[[api-linebreak]] |
| OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
@covers ::validate[[api-linebreak]] |
| PathAliasConstraint | class | core/ |
Validation constraint for changing path aliases in pending revisions. |
| PathAliasConstraint.php | file | core/ |
|
| PathAliasConstraint::$message | property | core/ |
|
| PathAliasConstraintValidator | class | core/ |
Constraint validator for changing path aliases in pending revisions. |
| PathAliasConstraintValidator.php | file | core/ |
|
| PathAliasConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| PathAliasConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| PathAliasConstraintValidator::validate | function | core/ |
|
| PathAliasConstraintValidator::__construct | function | core/ |
Creates a new PathAliasConstraintValidator instance. |
| PrecedingConstraintAwareValidatorTrait | trait | core/ |
A constraint may need preceding constraints to not have been violated. |
| PrecedingConstraintAwareValidatorTrait.php | file | core/ |
|
| PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints | function | core/ |
Gets the constraints preceding the given constraint in the current context. |
| PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints | function | core/ |
Checks whether any preceding constraints have been violated. |
| PrimitiveTypeConstraint | class | core/ |
Supports validating all primitive types. |
| PrimitiveTypeConstraint.php | file | core/ |
|
| PrimitiveTypeConstraint::$message | property | core/ |
|
| PrimitiveTypeConstraintValidator | class | core/ |
Validates the PrimitiveType constraint. |
| PrimitiveTypeConstraintValidator.php | file | core/ |
|
| PrimitiveTypeConstraintValidator::validate | function | core/ |
|
| 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/ |
|
| ProtectedUserFieldConstraintValidator::__construct | function | core/ |
Constructs the object. |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.