DeletedWorkspaceConstraint.php

Same filename in other branches
  1. 9 core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php
  2. 8.9.x core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php
  3. 10 core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php

Namespace

Drupal\workspaces\Plugin\Validation\Constraint

File

core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php

View source
<?php

namespace Drupal\workspaces\Plugin\Validation\Constraint;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;

/**
 * Deleted workspace constraint.
 */
class DeletedWorkspaceConstraint extends SymfonyConstraint {
    
    /**
     * The default violation message.
     *
     * @var string
     */
    public $message = 'A workspace with this ID has been deleted but data still exists for it.';

}

Classes

Title Deprecated Summary
DeletedWorkspaceConstraint Deleted workspace constraint.

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