class DeletedWorkspaceConstraint in Workspace 8.2
Deleted workspace constraint.
Plugin annotation
@Constraint(
id = "DeletedWorkspace",
label = @Translation("Deleted workspace", context = "Validation"),
)
Hierarchy
- class \Drupal\workspace\Plugin\Validation\Constraint\DeletedWorkspaceConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of DeletedWorkspaceConstraint
File
- src/
Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraint.php, line 15
Namespace
Drupal\workspace\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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DeletedWorkspaceConstraint:: |
public | property | The default violation message. |