function brightcove_cron in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 brightcove.module \brightcove_cron()
- 3.x brightcove.module \brightcove_cron()
Implements hook_cron().
File
- ./
brightcove.module, line 149 - Brightcove module.
Code
function brightcove_cron() {
$config = \Drupal::config('brightcove.settings');
if ($config
->get('disable_cron')) {
return;
}
_brightcove_initiate_sync();
}