You are here

function janrain_capture_cron in Janrain Registration 8

Same name and namespace in other branches
  1. 7.4 janrain_capture.module \janrain_capture_cron()
  2. 7.2 janrain_capture.module \janrain_capture_cron()

Implements hook_cron().

@internal

File

./janrain_capture.module, line 16
Janrain Capture.

Code

function janrain_capture_cron() : void {

  /* @var \Drupal\janrain_capture\ScreenLoaderManager $screen_loader_manager */
  $screen_loader_manager = \Drupal::service('janrain_capture.screen_loader_manager');
  if ($screen_loader_manager
    ->isRemote()) {
    $screen_loader_manager
      ->updateRemoteScreens();
  }
}