Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 9.5.x for ConstraintValidator
  3. Search 8.9.x for ConstraintValidator
  4. Search 10.3.x for ConstraintValidator
  5. Other projects
Title Object type File name Summary
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::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @covers ::validate
ProtectedUserFieldConstraintValidatorTest::validate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Perform the validation.
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
RequiredConfigDependenciesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php Validates the RequiredConfigDependencies constraint.
RequiredConfigDependenciesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php
RequiredConfigDependenciesConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php The entity type manager service.
RequiredConfigDependenciesConstraintValidator::create function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php Instantiates a new instance of this class.
RequiredConfigDependenciesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php
RequiredConfigDependenciesConstraintValidator::__construct function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php Constructs a RequiredConfigDependenciesConstraintValidator object.
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::KNOWN_UNSUPPORTED_TAGS constant core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Tags whose plugins are known to not yet integrate with the Style plugin.
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.
TestValidatedReferenceConstraintValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php Validates referenced entities.
TestValidatedReferenceConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php
TestValidatedReferenceConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php
ToolbarItemConditionsMetConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php Toolbar item conditions met constraint validator.
ToolbarItemConditionsMetConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php

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