function scheduled_publish_cron in Scheduled Publish 8.2
Same name and namespace in other branches
- 8.3 scheduled_publish.module \scheduled_publish_cron()
- 8 scheduled_publish.module \scheduled_publish_cron()
Implements hook_cron().
1 string reference to 'scheduled_publish_cron'
- ultimate_cron.job.scheduled_publish_cron.yml in config/
optional/ ultimate_cron.job.scheduled_publish_cron.yml - config/optional/ultimate_cron.job.scheduled_publish_cron.yml
File
- ./
scheduled_publish.module, line 111 - Contains scheduled_publish.module.
Code
function scheduled_publish_cron() {
/**
* @var ScheduledPublishCron $scheduledPublishUpdate
*/
$scheduledPublishUpdate = \Drupal::service('scheduled_publish.update');
$scheduledPublishUpdate
->doUpdate();
}