Search for ConstraintValidator
- Search 7.x for ConstraintValidator
- Search 9.5.x for ConstraintValidator
- Search 10.3.x for ConstraintValidator
- Search 11.x for ConstraintValidator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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 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 |
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. |
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/ |
|
ProtectedUserFieldConstraintValidator::__construct | function | core/ |
Constructs the object. |
ProtectedUserFieldConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator @group user |
ProtectedUserFieldConstraintValidatorTest.php | file | core/ |
|
ProtectedUserFieldConstraintValidatorTest::createValidator | function | core/ |
|
ProtectedUserFieldConstraintValidatorTest::providerTestValidate | function | core/ |
Data provider for ::testValidate(). |
ProtectedUserFieldConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate |
RangeConstraintValidator | class | core/ |
Validator for the Drupal 'range' constraint. |
RangeConstraintValidator.php | file | core/ |
|
RangeConstraintValidator::validate | function | core/ |
|
RecursiveContextualValidator::$constraintValidatorFactory | property | core/ |
The constraint validator factory. |
RecursiveValidator::$constraintValidatorFactory | property | core/ |
|
ReferenceAccessConstraintValidator | class | core/ |
Checks if the current user has access to newly referenced entities. |
ReferenceAccessConstraintValidator.php | file | core/ |
|
ReferenceAccessConstraintValidator::validate | function | core/ |
|
RestTestConstraintValidator | class | core/ |
Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint. |
RestTestConstraintValidator.php | file | core/ |
|
RestTestConstraintValidator::validate | function | core/ |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.