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::$stateTransitionValidation | property | core/ |
The state transition validation service. |
ModerationStateConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
ModerationStateConstraintValidator::validate | function | core/ |
|
ModerationStateConstraintValidator::__construct | function | core/ |
Creates a new ModerationStateConstraintValidator instance. |
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/ |
@coversDefaultClass \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/ |
@covers ::validate |
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
@covers ::validate |
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/ |
@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. |
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 @group validation |
PrimitiveTypeConstraintValidatorTest.php | file | core/ |
|
PrimitiveTypeConstraintValidatorTest::provideTestValidate | function | core/ |
|
PrimitiveTypeConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate |
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/ |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.