function EnvironmentCleanerInterface::cleanResultsTable
Clears test result tables from the results database.
Parameters
$test_id: Test ID to remove results for, or NULL to remove all results.
Return value
int The number of results that were removed.
1 method overrides EnvironmentCleanerInterface::cleanResultsTable()
- EnvironmentCleaner::cleanResultsTable in core/
lib/ Drupal/ Core/ Test/ EnvironmentCleaner.php - Clears test result tables from the results database.
File
-
core/
lib/ Drupal/ Core/ Test/ EnvironmentCleanerInterface.php, line 55
Class
- EnvironmentCleanerInterface
- Defines an interface for cleaning up test results and fixtures.
Namespace
Drupal\Core\TestCode
public function cleanResultsTable($test_id = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.