3 namespace Drupal\workspaces\Plugin\Validation\Constraint;
5 use Symfony\Component\Validator\Constraint;
8 * Deleted workspace constraint.
11 * id = "DeletedWorkspace",
12 * label = @Translation("Deleted workspace", context = "Validation"),
15 class DeletedWorkspaceConstraint extends Constraint {
18 * The default violation message.
22 public $message = 'A workspace with this ID has been deleted but data still exists for it.';