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
CommentNameConstraintValidator::getAnonymousContactDetailsSetting function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Gets the anonymous contact details setting from the comment.
CommentNameConstraintValidator::validate function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
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.
ConfigExistsConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Validates that a given config object exists.
ConfigExistsConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigExistsConstraintValidator::$configFactory property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php The config factory service.
ConfigExistsConstraintValidator::create function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Instantiates a new instance of this class.
ConfigExistsConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigExistsConstraintValidator::__construct function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Constructs a ConfigExistsConstraintValidator object.
ConfigExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists constraint validator.
ConfigExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php
ConfigExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Modules to install.
ConfigExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists 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::$state property core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php The state 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.

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