Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 9.5.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
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
UniquePathAliasConstraintValidator class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Constraint validator for a unique path alias.
UniquePathAliasConstraintValidator.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php
UniquePathAliasConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php The entity type manager.
UniquePathAliasConstraintValidator::create function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Instantiates a new instance of this class.
UniquePathAliasConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php
UniquePathAliasConstraintValidator::__construct function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Creates a new UniquePathAliasConstraintValidator instance.
UserNameConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php Validates the UserName constraint.
UserNameConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
ValidPathConstraintValidator class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Constraint validator for validating system paths.
ValidPathConstraintValidator.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidPathConstraintValidator::$pathValidator property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php The path validator.
ValidPathConstraintValidator::create function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Instantiates a new instance of this class.
ValidPathConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidPathConstraintValidator::__construct function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Creates a new ValidPathConstraintValidator instance.
ValidReferenceConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php Checks if referenced entities are valid.
ValidReferenceConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php
ValidReferenceConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php The entity type manager.
ValidReferenceConstraintValidator::$selectionManager property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php The selection plugin manager.
ValidReferenceConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php Instantiates a new instance of this class.
ValidReferenceConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php
ValidReferenceConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php Constructs a ValidReferenceConstraintValidator object.
ValidReferenceConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php Tests validation constraints for ValidReferenceConstraintValidator.
ValidReferenceConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
ValidReferenceConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php Modules to enable.
ValidReferenceConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php The typed data manager to use.
ValidReferenceConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
ValidReferenceConstraintValidatorTest::testPreExistingItemsValidation function core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php Tests the validation of pre-existing items in an entity reference field.
ValidReferenceConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php Tests the ValidReferenceConstraintValidator.

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