function cleaner_cleaner_run in Cleaner 8
Same name and namespace in other branches
- 5 cleaner.module \cleaner_cleaner_run()
- 6 cleaner.module \cleaner_cleaner_run()
- 7 cleaner.module \cleaner_cleaner_run()
Implements hook_cleaner_run().
This hook run all actions, which has been configured via admin settings page.
File
- ./
cleaner.module, line 30 - Allows the admin to set a schedule for clearing caches and other stuff.
Code
function cleaner_cleaner_run() {
\Drupal::service('cleaner')
->run();
}