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
CommentNameConstraintValidator::__construct function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Constructs a new CommentNameConstraintValidator.
ComplexDataConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php Validates complex data.
ComplexDataConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php Tests ComplexData validation with both valid and invalid values.
ComplexDataConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
ComplexDataConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php The typed data manager to use.
ComplexDataConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
ComplexDataConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php Tests the ComplexData validation constraint validator.
ConstraintValidatorFactory class core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Defines a constraint validator factory that works with container injection.
ConstraintValidatorFactory.php file core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::$classResolver property core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php The class resolver.
ConstraintValidatorFactory::getInstance function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::__construct function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Constructs a new ConstraintValidatorFactory.
ContentTranslationSynchronizedFieldsConstraintValidator class core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks that synchronized fields are handled correctly in pending revisions.
ContentTranslationSynchronizedFieldsConstraintValidator.php file core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentTranslationSynchronizedFieldsConstraintValidator::$contentTranslationManager property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The content translation manager.
ContentTranslationSynchronizedFieldsConstraintValidator::$entityTypeManager property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The entity type manager.
ContentTranslationSynchronizedFieldsConstraintValidator::$synchronizer property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The field translation synchronizer.
ContentTranslationSynchronizedFieldsConstraintValidator::create function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Instantiates a new instance of this class.
ContentTranslationSynchronizedFieldsConstraintValidator::getOriginalEntity function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the original unchanged entity to be used to detect changes.
ContentTranslationSynchronizedFieldsConstraintValidator::getOriginalTranslation function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the original translation.
ContentTranslationSynchronizedFieldsConstraintValidator::getSynchronizedPropertiesByField function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the synchronized properties for every specified field.
ContentTranslationSynchronizedFieldsConstraintValidator::hasSynchronizedPropertyChanges function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks whether any synchronized property has changes.
ContentTranslationSynchronizedFieldsConstraintValidator::validate function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentTranslationSynchronizedFieldsConstraintValidator::__construct function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php ContentTranslationSynchronizedFieldsConstraintValidator constructor.
DateTimeFormatConstraintValidator class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php Constraint validator for DateTime items to ensure the format is correct.
DateTimeFormatConstraintValidator.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormatConstraintValidator::validate function core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DeletedWorkspaceConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Checks if data still exists for a deleted workspace ID.
DeletedWorkspaceConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
DeletedWorkspaceConstraintValidator::$workspaceAssociation property core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php The workspace association service.
DeletedWorkspaceConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Instantiates a new instance of this class.
DeletedWorkspaceConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
DeletedWorkspaceConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Creates a new DeletedWorkspaceConstraintValidator instance.
EnabledConfigurablePluginsConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php Enabled configurable plugin settings validator.
EnabledConfigurablePluginsConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php
EnabledConfigurablePluginsConstraintValidator::getConfigurableEnabledDefinitions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php Gets all configurable CKEditor 5 plugin definitions that are enabled.
EnabledConfigurablePluginsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php
EntityChangedConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php Validates the EntityChanged constraint.
EntityChangedConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php
EntityChangedConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php
EntityHasFieldConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityHasFieldConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to enable.
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php

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