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 |
|---|---|---|---|
| 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 install. |
| 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. |
| PluginExistsConstraint | class | core/ |
Checks if a plugin exists and optionally implements a particular interface. |
| PluginExistsConstraint.php | file | core/ |
|
| PluginExistsConstraint::$allowFallback | property | core/ |
Whether or not to consider fallback plugin IDs as valid. |
| PluginExistsConstraint::$interface | property | core/ |
Optional name of the interface that the plugin must implement. |
| PluginExistsConstraint::$invalidInterfaceMessage | property | core/ |
The error message if a plugin does not implement the expected interface. |
| PluginExistsConstraint::$manager | property | core/ |
The ID of the plugin manager service. |
| PluginExistsConstraint::$unknownPluginMessage | property | core/ |
The error message if a plugin does not exist. |
| PluginExistsConstraint::create | function | core/ |
Creates an instance of the plugin. |
| PluginExistsConstraint::getDefaultOption | function | core/ |
|
| PluginExistsConstraint::getRequiredOptions | function | core/ |
|
| PluginExistsConstraint::__construct | function | core/ |
Constructs a PluginExistsConstraint. |
| PluginExistsConstraintTest | class | core/ |
@group Plugin @group Validation |
| PluginExistsConstraintTest.php | file | core/ |
|
| PluginExistsConstraintTest::testMissingOption | function | core/ |
Tests missing option. |
| PluginExistsConstraintTest::testOption | function | core/ |
Tests with different option keys. |
| PluginExistsConstraintValidator | class | core/ |
Validates the PluginExists constraint. |
| PluginExistsConstraintValidator.php | file | core/ |
|
| PluginExistsConstraintValidator::validate | function | core/ |
|
| PluginExistsConstraintValidatorTest | class | core/ |
@group Plugin @group Validation |
| PluginExistsConstraintValidatorTest.php | file | core/ |
|
| PluginExistsConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| PluginExistsConstraintValidatorTest::testFallbackPluginIds | function | core/ |
Tests that fallback plugin IDs can be considered valid or invalid. |
| PluginExistsConstraintValidatorTest::testValidation | function | core/ |
Tests validation of plugin existence. |
| 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/ |
Pagination
- Previous page
- Page 17
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.