You are here

function brightcove_cron in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 brightcove.module \brightcove_cron()
  2. 8 brightcove.module \brightcove_cron()

Implements hook_cron().

File

./brightcove.module, line 152
Brightcove module.

Code

function brightcove_cron() {
  $config = \Drupal::config('brightcove.settings');
  if ($config
    ->get('disable_cron')) {
    return;
  }
  _brightcove_initiate_sync();
}