35 classes are annotated with Constraint in Zircon Profile 8
- AllowedValuesConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ AllowedValuesConstraint.php - Checks for the value being allowed.
- BundleConstraint in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ BundleConstraint.php - Checks if a value is a valid entity type.
- CommentNameConstraint in core/
modules/ comment/ src/ Plugin/ Validation/ Constraint/ CommentNameConstraint.php - Supports validating comment author names.
- ComplexDataConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ ComplexDataConstraint.php - Complex data constraint.
- CountConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ CountConstraint.php - Count constraint.
- EmailConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EmailConstraint.php - Count constraint.
- EntityChangedConstraint in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityChangedConstraint.php - Validation constraint for the entity changed timestamp.
- EntityTestCompositeConstraint in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestCompositeConstraint.php - Constraint with multiple fields.
- EntityTestEntityLevel in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestEntityLevel.php - Constraint on entity entity level.
- EntityTypeConstraint in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityTypeConstraint.php - Checks if a value is a valid entity type.
- FeedTitleConstraint in core/
modules/ aggregator/ src/ Plugin/ Validation/ Constraint/ FeedTitleConstraint.php - Supports validating feed titles.
- FeedUrlConstraint in core/
modules/ aggregator/ src/ Plugin/ Validation/ Constraint/ FeedUrlConstraint.php - Supports validating feed URLs.
- FieldWidgetConstraint in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ FieldWidgetConstraint.php - Supports validating widget constraints.
- FileUriUnique in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileUriUnique.php - Supports validating file URIs.
- FileValidationConstraint in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileValidationConstraint.php - Validation File constraint.
- ForumLeafConstraint in core/
modules/ forum/ src/ Plugin/ Validation/ Constraint/ ForumLeafConstraint.php - Checks that the node is assigned only a "leaf" term in the forum taxonomy.
- IsNullConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ IsNullConstraint.php - Null constraint.
- LengthConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ LengthConstraint.php - Length constraint.
- LinkAccessConstraint in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkAccessConstraint.php - Defines an access validation constraint for links.
- LinkExternalProtocolsConstraint in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkExternalProtocolsConstraint.php - Defines a protocol validation constraint for links to external URLs.
- LinkNotExistingInternalConstraint in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkNotExistingInternalConstraint.php - Defines a protocol validation constraint for links to broken internal URLs.
- LinkTypeConstraint in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkTypeConstraint.php - Validation constraint for links receiving data allowed by its settings.
- NotNullConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ NotNullConstraint.php - NotNull constraint.
- PrimitiveTypeConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraint.php - Supports validating all primitive types.
- ProtectedUserFieldConstraint in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ ProtectedUserFieldConstraint.php - Checks if the plain text password is provided for editing a protected field.
- RangeConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ RangeConstraint.php - Range constraint.
- ReferenceAccessConstraint in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ReferenceAccessConstraint.php - Entity Reference valid reference constraint.
- RegexConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ RegexConstraint.php - Regex constraint.
- TestFieldConstraint in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Validation/ Constraint/ TestFieldConstraint.php - Checks if a value is not equal.
- UniqueFieldConstraint in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldConstraint.php - Checks if an entity field has a unique value.
- UserMailRequired in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserMailRequired.php - Checks if the user's email address is provided if required.
- UserMailUnique in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserMailUnique.php - Checks if a user's email address is unique on the site.
- UserNameConstraint in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraint.php - Checks if a value is a valid user name.
- UserNameUnique in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameUnique.php - Checks if a user name is unique on the site.
- ValidReferenceConstraint in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ValidReferenceConstraint.php - Entity Reference valid reference constraint.