You are here

public function Workspace::setQueuedForDelete in Multiversion 8

Specifies that the workspace is queued for delete on next cron run.

Parameters

bool $queued:

Return value

mixed

Overrides WorkspaceInterface::setQueuedForDelete

File

src/Entity/Workspace.php, line 235

Class

Workspace
The workspace entity class.

Namespace

Drupal\multiversion\Entity

Code

public function setQueuedForDelete($queued = TRUE) {
  $this
    ->set('queued_for_delete', (bool) $queued);
  return $this;
}