class DeletedWorkspaceConstraint
Same name in other branches
- 8.9.x core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint
- 10 core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint
- 11.x core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint
Deleted workspace constraint.
Plugin annotation
@Constraint(
id = "DeletedWorkspace",
label = @Translation("Deleted workspace", context = "Validation"),
)
Hierarchy
- class \Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of DeletedWorkspaceConstraint
File
-
core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraint.php, line 15
Namespace
Drupal\workspaces\Plugin\Validation\ConstraintView source
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.';
}
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.