function workspaces_cron in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/workspaces.module \workspaces_cron()
Implements hook_cron().
File
- core/
modules/ workspaces/ workspaces.module, line 180 - Provides full-site preview functionality for content staging.
Code
function workspaces_cron() {
\Drupal::service('workspaces.manager')
->purgeDeletedWorkspacesBatch();
}