function WorkspacesHooks::cron
Implements hook_cron().
File
-
core/
modules/ workspaces/ src/ Hook/ WorkspacesHooks.php, line 230
Class
- WorkspacesHooks
- Hook implementations for workspaces.
Namespace
Drupal\workspaces\HookCode
public function cron() : void {
\Drupal::service('workspaces.manager')->purgeDeletedWorkspacesBatch();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.