You are here

function scheduler_cache_flush in Scheduler 2.x

Implements hook_cache_flush().

File

./scheduler.module, line 1048
Scheduler publishes and unpublishes entities on dates specified by the user.

Code

function scheduler_cache_flush() {
  \Drupal::service('scheduler.manager')
    ->invalidatePluginCache();
}