You are here

private static function CleanerTest::cleanerExecute in Cleaner 8

Execute the Cleaner.

2 calls to CleanerTest::cleanerExecute()
CleanerTest::testCleanerClearCache in src/Tests/CleanerTest.php
Test Cleaner clearing caches.
CleanerTest::testCleanerClearWatchdog in src/Tests/CleanerTest.php
Test Cleaner clearing watchdog logs.

File

src/Tests/CleanerTest.php, line 81

Class

CleanerTest
Class CleanerTest.

Namespace

Drupal\cleaner\Tests

Code

private static function cleanerExecute() {
  \Drupal::moduleHandler()
    ->invokeAll('cleaner_run');
}