You are here

function rng_cron in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 rng.module \rng_cron()
  2. 3.x rng.module \rng_cron()

Implements hook_cron().

File

./rng.module, line 45

Code

function rng_cron() {

  /** @var \Drupal\rng\RngCron $rng_cron */
  $rng_cron = \Drupal::service('rng.cron');
  $rng_cron
    ->hook_cron();
}