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
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
ToolbarItemConditionsMetConstraintValidator::findDefinitionForToolbarItem function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php Searches for CKEditor 5 plugin that provides a given toolbar item.
ToolbarItemConditionsMetConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php
ToolbarItemConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConstraintValidator.php Toolbar item constraint validator.
ToolbarItemConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConstraintValidator.php
ToolbarItemConstraintValidator::isValidToolbarItem function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConstraintValidator.php Validates the given toolbar item.
ToolbarItemConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConstraintValidator.php
ToolbarItemDependencyConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemDependencyConstraintValidator.php Toolbar item dependency constraint validator.
ToolbarItemDependencyConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemDependencyConstraintValidator.php
ToolbarItemDependencyConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemDependencyConstraintValidator.php
UniqueLabelInListConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraintValidator.php Uniquely labeled list item constraint validator.
UniqueLabelInListConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraintValidator.php
UniqueLabelInListConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraintValidator.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.