Search for ConstraintValidator
- Search 7.x for ConstraintValidator
- Search 9.5.x for ConstraintValidator
- Search 8.9.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[[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]] |
| 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/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| 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]] |
| 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/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| ProtectedUserFieldConstraintValidator::__construct | function | core/ |
Constructs the object. |
| ProtectedUserFieldConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator[[api-linebreak]] @group user |
| ProtectedUserFieldConstraintValidatorTest.php | file | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::createValidator | function | core/ |
|
| ProtectedUserFieldConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
| ProtectedUserFieldConstraintValidatorTest::validate | function | core/ |
Perform the validation. |
| RangeConstraintValidator | class | core/ |
Validator for the Drupal 'range' constraint. |
| RangeConstraintValidator.php | file | core/ |
|
| RangeConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
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.