function EnvironmentCleanerInterface::cleanTemporaryDirectories

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php \Drupal\Core\Test\EnvironmentCleanerInterface::cleanTemporaryDirectories()
  2. 10 core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php \Drupal\Core\Test\EnvironmentCleanerInterface::cleanTemporaryDirectories()
  3. 11.x core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php \Drupal\Core\Test\EnvironmentCleanerInterface::cleanTemporaryDirectories()

Finds all leftover fixture site directories and removes them.

2 methods override EnvironmentCleanerInterface::cleanTemporaryDirectories()
EnvironmentCleaner::cleanTemporaryDirectories in core/lib/Drupal/Core/Test/EnvironmentCleaner.php
Finds all leftover fixture site directories and removes them.
StubEnvironmentCleanerService::cleanTemporaryDirectories in core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php
Finds all leftover fixture site directories and removes them.

File

core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php, line 44

Class

EnvironmentCleanerInterface
Defines an interface for cleaning up test results and fixtures.

Namespace

Drupal\Core\Test

Code

public function cleanTemporaryDirectories();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.