Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 8.9.x for ConstraintValidator
  3. Search 10.3.x for ConstraintValidator
  4. Search 11.x for ConstraintValidator
  5. Other projects
Title Object type File name Summary
PrimitiveTypeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidatorTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator
@group validation
PrimitiveTypeConstraintValidatorTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate
ProtectedUserFieldConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Validates the ProtectedUserFieldConstraint constraint.
ProtectedUserFieldConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidator::$currentUser property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php The current user.
ProtectedUserFieldConstraintValidator::$userStorage property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php User storage handler.
ProtectedUserFieldConstraintValidator::create function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Instantiates a new instance of this class.
ProtectedUserFieldConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidator::__construct function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Constructs the object.
ProtectedUserFieldConstraintValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator
@group user
ProtectedUserFieldConstraintValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Data provider for ::testValidate().
ProtectedUserFieldConstraintValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @covers ::validate
RangeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php Validator for the Drupal 'range' constraint.
RangeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
RangeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
RecursiveContextualValidator::$constraintValidatorFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The constraint validator factory.
RecursiveValidator::$constraintValidatorFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
ReferenceAccessConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php Checks if the current user has access to newly referenced entities.
ReferenceAccessConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php
ReferenceAccessConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php
RestTestConstraintValidator class core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint.
RestTestConstraintValidator.php file core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php
RestTestConstraintValidator::validate function core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php
SourceEditingPreventSelfXssConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Ensures Source Editing cannot be configured to allow self-XSS.
SourceEditingPreventSelfXssConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php
SourceEditingPreventSelfXssConstraintValidator::getRegExForWildCardAttributeName function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Computes a regular expression for matching a wildcard attribute name.
SourceEditingPreventSelfXssConstraintValidator::isWildcardAttributeName function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Checks whether the given attribute name contains a wildcard, e.g. `data-*`.
SourceEditingPreventSelfXssConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php
SourceEditingRedundantTagsConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Ensures tags already available via plugin are not be added to Source Editing.
SourceEditingRedundantTagsConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
SourceEditingRedundantTagsConstraintValidator::pluginsSupplyingTagsMessage function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Creates a message listing plugins and the overlapping tags they provide.
SourceEditingRedundantTagsConstraintValidator::tagHasAttributeRestrictions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Inspects whether the given tag has attribute restrictions.
SourceEditingRedundantTagsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
StyleSensibleElementConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Finds the plugin with elements that conflict with the style element.
StyleSensibleElementConstraintValidator::intersectionWithClasses function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Checks if there is an intersection on allowed 'class' attribute values.
StyleSensibleElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
TaxonomyTermHierarchyConstraintValidator class core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Constraint validator for changing term parents in pending revisions.
TaxonomyTermHierarchyConstraintValidator.php file core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php
TaxonomyTermHierarchyConstraintValidator::$entityTypeManager property core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php The entity type manager.
TaxonomyTermHierarchyConstraintValidator::create function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Instantiates a new instance of this class.
TaxonomyTermHierarchyConstraintValidator::validate function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php
TaxonomyTermHierarchyConstraintValidator::__construct function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Creates a new TaxonomyTermHierarchyConstraintValidator instance.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.