function DeletedWorkspaceConstraint::__construct
Attributes
#[HasNamedArguments]
File
-
core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraint.php, line 19
Class
- DeletedWorkspaceConstraint
- Deleted workspace constraint.
Namespace
Drupal\workspaces\Plugin\Validation\ConstraintCode
public function __construct(mixed $options = NULL, public $message = 'A workspace with this ID has been deleted but data still exists for it.', ?array $groups = NULL, mixed $payload = NULL) {
parent::__construct($options, $groups, $payload);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.