You are here

class DeletedWorkspaceConstraint in Workspace 8.2

Deleted workspace constraint.

Plugin annotation


@Constraint(
  id = "DeletedWorkspace",
  label = @Translation("Deleted workspace", context = "Validation"),
)

Hierarchy

Expanded class hierarchy of DeletedWorkspaceConstraint

File

src/Plugin/Validation/Constraint/DeletedWorkspaceConstraint.php, line 15

Namespace

Drupal\workspace\Plugin\Validation\Constraint
View 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

Namesort descending Modifiers Type Description Overrides
DeletedWorkspaceConstraint::$message public property The default violation message.