function workspace_cron in Workspace 8.2
Implements hook_cron().
File
- ./
workspace.module, line 124 - Provides full-site preview functionality for content staging.
Code
function workspace_cron() {
\Drupal::service('workspace.manager')
->purgeDeletedWorkspacesBatch();
}