function workflow_cron in Workflow 8
Same name and namespace in other branches
- 5.2 workflow.module \workflow_cron()
- 5 workflow.module \workflow_cron()
- 6.2 workflow.module \workflow_cron()
- 6 workflow.module \workflow_cron()
- 7.2 workflow.module \workflow_cron()
- 7 workflow.module \workflow_cron()
Implements hook_cron().
Given a time frame, execute all scheduled transitions.
File
- ./
workflow.module, line 258 - Support workflows made up of arbitrary states.
Code
function workflow_cron() {
WorkflowManager::executeScheduledTransitionsBetween(0, \Drupal::time()
->getRequestTime());
}