namespace Drupal\Core\Entity\Plugin\Validation\Constraint

Same name in other branches
  1. 9 Drupal\Core\Entity\Plugin\Validation\Constraint
  2. 8.9.x Drupal\Core\Entity\Plugin\Validation\Constraint
  3. 10 Drupal\Core\Entity\Plugin\Validation\Constraint
Object name File name Summary
BundleConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php Checks if a value is a valid entity type.
BundleConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php Validates the Bundle constraint.
CompositeConstraintBase core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/CompositeConstraintBase.php Provides a base class for constraints validating multiple fields.
EntityChangedConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraint.php Validation constraint for the entity changed timestamp.
EntityChangedConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php Validates the EntityChanged constraint.
EntityHasFieldConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php Checks if a value is an entity that has a specific field.
EntityHasFieldConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityTypeConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php Checks if a value is a valid entity type.
EntityTypeConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php Validates the EntityType constraint.
EntityUntranslatableFieldsConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraint.php Validation constraint for the entity changed timestamp.
EntityUntranslatableFieldsConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Validates the EntityChanged constraint.
ImmutablePropertiesConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php Checks if config entity properties have been changed.
ImmutablePropertiesConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Validates the ImmutableProperties constraint.
ReferenceAccessConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraint.php Entity Reference valid reference constraint.
ReferenceAccessConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php Checks if the current user has access to newly referenced entities.
ValidReferenceConstraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php Entity Reference valid reference constraint.
ValidReferenceConstraintValidator core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php Checks if referenced entities are valid.

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