You are here

protected function SchedulerJavascriptTestBase::flushCache in Scheduler 2.x

Same name and namespace in other branches
  1. 8 tests/src/FunctionalJavascript/SchedulerJavascriptTestBase.php \Drupal\Tests\scheduler\FunctionalJavascript\SchedulerJavascriptTestBase::flushCache()

Flush cache.

File

tests/src/FunctionalJavascript/SchedulerJavascriptTestBase.php, line 67

Class

SchedulerJavascriptTestBase
Base class for Scheduler javascript tests.

Namespace

Drupal\Tests\scheduler\FunctionalJavascript

Code

protected function flushCache() {
  $module_handler = \Drupal::moduleHandler();
  $module_handler
    ->invokeAll('cache_flush');
}