You are here

function library_cron in Library 8

Same name and namespace in other branches
  1. 5.2 library.module \library_cron()
  2. 6.2 library.module \library_cron()
  3. 6 library.module \library_cron()
  4. 7 library.module \library_cron()

Implements hook_cron().

File

./library.module, line 38
Contains library.module.

Code

function library_cron() {
  \Drupal::service('library.anonmyize_records')
    ->anonymize();
}