You are here

public function RngCron::hook_cron in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/RngCron.php \Drupal\rng\RngCron::hook_cron()
  2. 8 src/RngCron.php \Drupal\rng\RngCron::hook_cron()

React to Drupal `hook_cron` hooks.

See also

hook_cron();

File

src/RngCron.php, line 46

Class

RngCron
RNG Cron.

Namespace

Drupal\rng

Code

public function hook_cron() {
  $this
    ->scheduleRules();
  $this
    ->deleteScheduleRules();
}