Search for ConstraintValidator
- Search 7.x for ConstraintValidator
- Search 9.5.x for ConstraintValidator
- Search 8.9.x for ConstraintValidator
- Search 10.3.x for ConstraintValidator
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| ModerationStateConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| ModerationStateConstraintValidator::validate | function | core/ |
|
| ModerationStateConstraintValidator::__construct | function | core/ |
Creates a new ModerationStateConstraintValidator instance. |
| NestedCompositeConstraintValidatorTest | class | core/ |
Tests nested composite validation constraints. |
| NestedCompositeConstraintValidatorTest.php | file | core/ |
|
| NestedCompositeConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| NestedCompositeConstraintValidatorTest::testConfigValidation | function | core/ |
Tests use of AtLeastOneOf validation constraint in config. |
| NotNullConstraintValidator | class | core/ |
NotNull constraint validator. |
| NotNullConstraintValidator.php | file | core/ |
|
| NotNullConstraintValidator::validate | function | core/ |
|
| 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/ |
Tests Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator. |
| 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/ |
Tests validate empty source. |
| OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
Tests validate url resolver invoked. |
| 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. |
| PluginExistsConstraintValidator | class | core/ |
Validates the PluginExists constraint. |
| PluginExistsConstraintValidator.php | file | core/ |
|
| PluginExistsConstraintValidator::validate | function | core/ |
|
| PluginExistsConstraintValidatorTest | class | core/ |
Tests Plugin Exists Constraint Validator. |
| 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. |
| PrimitiveTypeConstraintValidator | class | core/ |
Validates the PrimitiveType constraint. |
| PrimitiveTypeConstraintValidator.php | file | core/ |
|
| PrimitiveTypeConstraintValidator::validate | function | core/ |
|
| PrimitiveTypeConstraintValidatorTest | class | core/ |
Tests Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator. |
| PrimitiveTypeConstraintValidatorTest.php | file | core/ |
|
| PrimitiveTypeConstraintValidatorTest::provideTestValidate | function | core/ |
|
| PrimitiveTypeConstraintValidatorTest::testValidate | function | core/ |
Tests validate. |
| ProtectedUserFieldConstraintValidator | class | core/ |
Validates the ProtectedUserFieldConstraint constraint. |
| ProtectedUserFieldConstraintValidator.php | file | core/ |
|
| ProtectedUserFieldConstraintValidator::$currentUser | property | core/ |
The current user. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.