function workspaces_cron

Same name in other branches
  1. 8.9.x core/modules/workspaces/workspaces.module \workspaces_cron()
  2. 10 core/modules/workspaces/workspaces.module \workspaces_cron()
  3. 11.x core/modules/workspaces/workspaces.module \workspaces_cron()

Implements hook_cron().

File

core/modules/workspaces/workspaces.module, line 180

Code

function workspaces_cron() {
    \Drupal::service('workspaces.manager')->purgeDeletedWorkspacesBatch();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.