class DeletedWorkspaceConstraint

Same name in other branches
  1. 9 core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint
  2. 8.9.x core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint
  3. 11.x core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint

Deleted workspace constraint.

Hierarchy

Expanded class hierarchy of DeletedWorkspaceConstraint

File

core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php, line 12

Namespace

Drupal\workspaces\Plugin\Validation\Constraint
View source
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.';

}

Members

Title Sort descending Modifiers Object type Summary
DeletedWorkspaceConstraint::$message public property The default violation message.

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