You are here

protected function WebprofilerTestBase::flushCache in Devel 8.2

Same name and namespace in other branches
  1. 8.3 webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::flushCache()
  2. 8 webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::flushCache()
  3. 4.x webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::flushCache()

Flush cache.

File

webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php, line 75

Class

WebprofilerTestBase
Class WebprofilerTestBase.

Namespace

Drupal\Tests\webprofiler\FunctionalJavascript

Code

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