You are here

public function SchedulerManager::invalidatePluginCache in Scheduler 2.x

Reset the scheduler plugins cache.

File

src/SchedulerManager.php, line 921

Class

SchedulerManager
Defines a scheduler manager.

Namespace

Drupal\scheduler

Code

public function invalidatePluginCache() {
  \Drupal::cache()
    ->invalidate('scheduler.plugins');
}