You are here

public function EnvironmentCleanerInterface::cleanDatabase in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php \Drupal\Core\Test\EnvironmentCleanerInterface::cleanDatabase()

Remove database entries left over in the fixture database.

2 methods override EnvironmentCleanerInterface::cleanDatabase()
EnvironmentCleaner::cleanDatabase in core/lib/Drupal/Core/Test/EnvironmentCleaner.php
Remove database entries left over in the fixture database.
StubEnvironmentCleanerService::cleanDatabase in core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php
Remove database entries left over in the fixture database.

File

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

Class

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

Namespace

Drupal\Core\Test

Code

public function cleanDatabase();