85 files declare their use of Constraint
- AllowedValuesConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ AllowedValuesConstraint.php - BlockContentEntityChangedConstraint.php in core/
modules/ block_content/ src/ Plugin/ Validation/ Constraint/ BlockContentEntityChangedConstraint.php - BookOutlineConstraint.php in core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraint.php - BundleConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ BundleConstraint.php - CKEditor5ElementConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5ElementConstraint.php - CKEditor5MediaAndFilterSettingsInSyncConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5MediaAndFilterSettingsInSyncConstraint.php - CommentNameConstraint.php in core/
modules/ comment/ src/ Plugin/ Validation/ Constraint/ CommentNameConstraint.php - ComplexDataConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ ComplexDataConstraint.php - ConfigExistsConstraint.php in core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ ConfigExistsConstraint.php - ConstraintManager.php in core/
lib/ Drupal/ Core/ Validation/ ConstraintManager.php - ContentTranslationSynchronizedFieldsConstraint.php in core/
modules/ content_translation/ src/ Plugin/ Validation/ Constraint/ ContentTranslationSynchronizedFieldsConstraint.php - CountConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ CountConstraint.php - CountryCodeConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ CountryCodeConstraint.php - DateTimeFormatConstraint.php in core/
modules/ datetime/ src/ Plugin/ Validation/ Constraint/ DateTimeFormatConstraint.php - DeletedWorkspaceConstraint.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraint.php - EmailConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EmailConstraint.php - EnabledConfigurablePluginsConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ EnabledConfigurablePluginsConstraint.php - EntityBundleExistsConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EntityBundleExistsConstraint.php - EntityChangedConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityChangedConstraint.php - EntityHasFieldConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityHasFieldConstraint.php - EntityReferenceSupportedNewEntitiesConstraint.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityReferenceSupportedNewEntitiesConstraint.php - EntityTestCompositeConstraint.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestCompositeConstraint.php - EntityTestContainerFactoryPlugin.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestContainerFactoryPlugin.php - EntityTestDefaultPlugin.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestDefaultPlugin.php - EntityTestEntityLevel.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestEntityLevel.php - EntityTypeConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityTypeConstraint.php - EntityUntranslatableFieldsConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityUntranslatableFieldsConstraint.php - EntityWorkspaceConflictConstraint.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityWorkspaceConflictConstraint.php - ExtensionExistsConstraint.php in core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionExistsConstraint.php - ExtensionNameConstraint.php in core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionNameConstraint.php - FieldWidgetConstraint.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ FieldWidgetConstraint.php - FileExtensionConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionConstraint.php - FileExtensionSecureConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionSecureConstraint.php - FileImageDimensionsConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileImageDimensionsConstraint.php - FileIsImageConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileIsImageConstraint.php - FileNameLengthConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileNameLengthConstraint.php - FileSizeLimitConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileSizeLimitConstraint.php - FileUriUnique.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileUriUnique.php - FileValidationConstraint.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileValidationConstraint.php - ForumLeafConstraint.php in core/
modules/ forum/ src/ Plugin/ Validation/ Constraint/ ForumLeafConstraint.php - FullyValidatableConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ FullyValidatableConstraint.php - FundamentalCompatibilityConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ FundamentalCompatibilityConstraint.php - ImmutablePropertiesConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ImmutablePropertiesConstraint.php - IsNullConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ IsNullConstraint.php - LangcodeRequiredIfTranslatableValuesConstraint.php in core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ LangcodeRequiredIfTranslatableValuesConstraint.php - LengthConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ LengthConstraint.php - LinkAccessConstraint.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkAccessConstraint.php - LinkExternalProtocolsConstraint.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkExternalProtocolsConstraint.php - LinkNotExistingInternalConstraint.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkNotExistingInternalConstraint.php - LinkTypeConstraint.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkTypeConstraint.php - MediaTestConstraint.php in core/
modules/ media/ tests/ modules/ media_test_source/ src/ Plugin/ Validation/ Constraint/ MediaTestConstraint.php - MenuSettingsConstraint.php in core/
modules/ menu_ui/ src/ Plugin/ Validation/ Constraint/ MenuSettingsConstraint.php - MenuTreeHierarchyConstraint.php in core/
modules/ menu_link_content/ src/ Plugin/ Validation/ Constraint/ MenuTreeHierarchyConstraint.php - ModerationStateConstraint.php in core/
modules/ content_moderation/ src/ Plugin/ Validation/ Constraint/ ModerationStateConstraint.php - NotNullConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ NotNullConstraint.php - OEmbedResourceConstraint.php in core/
modules/ media/ src/ Plugin/ Validation/ Constraint/ OEmbedResourceConstraint.php - PathAliasConstraint.php in core/
modules/ path/ src/ Plugin/ Validation/ Constraint/ PathAliasConstraint.php - PluginExistsConstraint.php in core/
lib/ Drupal/ Core/ Plugin/ Plugin/ Validation/ Constraint/ PluginExistsConstraint.php - PrimitiveTypeConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraint.php - ProtectedUserFieldConstraint.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ ProtectedUserFieldConstraint.php - RangeConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ RangeConstraint.php - ReferenceAccessConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ReferenceAccessConstraint.php - RegexConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ RegexConstraint.php - RequiredConfigDependenciesConstraint.php in core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ RequiredConfigDependenciesConstraint.php - RestTestConstraint.php in core/
modules/ rest/ tests/ modules/ rest_test/ src/ Plugin/ Validation/ Constraint/ RestTestConstraint.php - SourceEditingPreventSelfXssConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingPreventSelfXssConstraint.php - SourceEditingRedundantTagsConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingRedundantTagsConstraint.php - StyleSensibleElementConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraint.php - TaxonomyTermHierarchyConstraint.php in core/
modules/ taxonomy/ src/ Plugin/ Validation/ Constraint/ TaxonomyTermHierarchyConstraint.php - TestFieldConstraint.php in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Validation/ Constraint/ TestFieldConstraint.php - TestValidatedReferenceConstraint.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ TestValidatedReferenceConstraint.php - ToolbarItemConditionsMetConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConditionsMetConstraint.php - ToolbarItemConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConstraint.php - ToolbarItemDependencyConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemDependencyConstraint.php - UniqueFieldConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldConstraint.php - UniqueLabelInListConstraint.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ UniqueLabelInListConstraint.php - UniquePathAliasConstraint.php in core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ UniquePathAliasConstraint.php - UserMailRequired.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserMailRequired.php - UserMailUnique.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserMailUnique.php - UserNameConstraint.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraint.php - UserNameUnique.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameUnique.php - UuidConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UuidConstraint.php - ValidKeysConstraint.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ ValidKeysConstraint.php - ValidPathConstraint.php in core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ ValidPathConstraint.php - ValidReferenceConstraint.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ValidReferenceConstraint.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.