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 |
|---|---|---|---|
| LinkNotExistingInternalConstraintValidatorTest.php | file | core/ |
|
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute | function | core/ |
Tests validate from non existing route. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute | function | core/ |
Tests validate from route. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri | function | core/ |
Tests validate from uri. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri | function | core/ |
Tests validate with malformed uri. |
| LinkNotExistingInternalConstraintValidatorTest::validate | function | core/ |
Validate the link. |
| LinkTypeConstraintValidator | class | core/ |
Constraint validator for links receiving data allowed by its settings. |
| LinkTypeConstraintValidator.php | file | core/ |
|
| LinkTypeConstraintValidator::validate | function | core/ |
|
| LinkTypeConstraintValidatorTest | class | core/ |
Tests LinkTypeConstraintValidator. |
| LinkTypeConstraintValidatorTest.php | file | core/ |
|
| LinkTypeConstraintValidatorTest::doValidate | function | core/ |
Validate the link. |
| LinkTypeConstraintValidatorTest::getMockFieldDefinition | function | core/ |
Builds a mock Link field definition. |
| LinkTypeConstraintValidatorTest::testBadExternal | function | core/ |
Validate an internal link in an external-only field. |
| LinkTypeConstraintValidatorTest::testBadInternal | function | core/ |
Validate an external link in an internal-only field. |
| LinkTypeConstraintValidatorTest::testBadUrl | function | core/ |
Validate a URL that throws an exception. |
| LinkTypeConstraintValidatorTest::testExternal | function | core/ |
Validate a good external link. |
| LinkTypeConstraintValidatorTest::testGeneric | function | core/ |
Validate a URL in a field that accepts both internal and external URLs. |
| LinkTypeConstraintValidatorTest::testInternal | function | core/ |
Validate a good internal link. |
| MediaMappingsConstraintValidator | class | core/ |
Validates media mappings. |
| MediaMappingsConstraintValidator.php | file | core/ |
|
| MediaMappingsConstraintValidator::validate | function | core/ |
|
| MediaMappingsConstraintValidatorTest | class | core/ |
Tests Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraintValidator. |
| MediaMappingsConstraintValidatorTest.php | file | core/ |
|
| MediaMappingsConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| MediaMappingsConstraintValidatorTest::setUp | function | core/ |
|
| MediaMappingsConstraintValidatorTest::testMediaMappingSource | function | core/ |
Tests media mapping source. |
| MediaTestConstraintValidator | class | core/ |
Validates the MediaTestConstraint. |
| MediaTestConstraintValidator.php | file | core/ |
|
| MediaTestConstraintValidator::validate | function | core/ |
|
| MenuLinkDepthConstraintValidator | class | core/ |
Validates the MenuLinkDepthConstraint constraint. |
| MenuLinkDepthConstraintValidator.php | file | core/ |
|
| MenuLinkDepthConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| MenuLinkDepthConstraintValidator::validate | function | core/ |
|
| MenuLinkDepthConstraintValidator::__construct | 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. |
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.