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 |
---|---|---|---|
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/ |
|
SourceEditingPreventSelfXssConstraintValidator | class | core/ |
Ensures Source Editing cannot be configured to allow self-XSS. |
SourceEditingPreventSelfXssConstraintValidator.php | file | core/ |
|
SourceEditingPreventSelfXssConstraintValidator::getRegExForWildCardAttributeName | function | core/ |
Computes a regular expression for matching a wildcard attribute name. |
SourceEditingPreventSelfXssConstraintValidator::isWildcardAttributeName | function | core/ |
Checks whether the given attribute name contains a wildcard, e.g. `data-*`. |
SourceEditingPreventSelfXssConstraintValidator::validate | function | core/ |
|
SourceEditingRedundantTagsConstraintValidator | class | core/ |
Ensures tags already available via plugin are not be added to Source Editing. |
SourceEditingRedundantTagsConstraintValidator.php | file | core/ |
|
SourceEditingRedundantTagsConstraintValidator::pluginsSupplyingTagsMessage | function | core/ |
Creates a message listing plugins and the overlapping tags they provide. |
SourceEditingRedundantTagsConstraintValidator::tagHasAttributeRestrictions | function | core/ |
Inspects whether the given tag has attribute restrictions. |
SourceEditingRedundantTagsConstraintValidator::validate | function | core/ |
|
StyleSensibleElementConstraintValidator | class | core/ |
Styles can only be specified for HTML5 tags and extra classes. |
StyleSensibleElementConstraintValidator.php | file | core/ |
|
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel | function | core/ |
Finds the plugin with elements that conflict with the style element. |
StyleSensibleElementConstraintValidator::intersectionWithClasses | function | core/ |
Checks if there is an intersection on allowed 'class' attribute values. |
StyleSensibleElementConstraintValidator::validate | function | core/ |
|
TaxonomyTermHierarchyConstraintValidator | class | core/ |
Constraint validator for changing term parents in pending revisions. |
TaxonomyTermHierarchyConstraintValidator.php | file | core/ |
|
TaxonomyTermHierarchyConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
TaxonomyTermHierarchyConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
TaxonomyTermHierarchyConstraintValidator::validate | function | core/ |
|
TaxonomyTermHierarchyConstraintValidator::__construct | function | core/ |
Creates a new TaxonomyTermHierarchyConstraintValidator instance. |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.