Search for ConstraintValidator
- Search 7.x for ConstraintValidator
- Search 8.9.x for ConstraintValidator
- Search 10.3.x for ConstraintValidator
- Search 11.x for ConstraintValidator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
LinkTypeConstraintValidator | class | core/ |
Constraint validator for links receiving data allowed by its settings. |
LinkTypeConstraintValidator.php | file | core/ |
|
LinkTypeConstraintValidator::validate | function | core/ |
|
MediaTestConstraintValidator | class | core/ |
Validates the MediaTestConstraint. |
MediaTestConstraintValidator.php | file | core/ |
|
MediaTestConstraintValidator::validate | function | core/ |
|
MenuSettingsConstraintValidator | class | core/ |
Constraint validator for changing the menu settings in pending revisions. |
MenuSettingsConstraintValidator.php | file | core/ |
|
MenuSettingsConstraintValidator::validate | function | core/ |
|
MenuTreeHierarchyConstraintValidator | class | core/ |
Constraint validator for changing menu link parents in pending revisions. |
MenuTreeHierarchyConstraintValidator.php | file | core/ |
|
MenuTreeHierarchyConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
MenuTreeHierarchyConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
MenuTreeHierarchyConstraintValidator::validate | function | core/ |
|
MenuTreeHierarchyConstraintValidator::__construct | function | core/ |
Creates a new MenuTreeHierarchyConstraintValidator instance. |
ModerationStateConstraintValidator | class | core/ |
Checks if a moderation state transition is valid. |
ModerationStateConstraintValidator.php | file | core/ |
|
ModerationStateConstraintValidator::$currentUser | property | core/ |
The current user. |
ModerationStateConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
ModerationStateConstraintValidator::$moderationInformation | property | core/ |
The moderation info. |
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 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. |
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.