DeletedWorkspaceConstraint.php
Same filename in other branches
Namespace
Drupal\workspaces\Plugin\Validation\ConstraintFile
-
core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraint.php
View source
<?php
namespace Drupal\workspaces\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Deleted workspace constraint.
*
* @Constraint(
* id = "DeletedWorkspace",
* label = @Translation("Deleted workspace", context = "Validation"),
* )
*/
class DeletedWorkspaceConstraint extends Constraint {
/**
* 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.