Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EnvironmentCleanerInterface.php

function EnvironmentCleanerInterface::cleanResults

Clears test results from the results storage.

Parameters

\Drupal\Core\Test\TestRun $test_run: The test run object to remove results for, or NULL to remove all results.

Return value

int The number of results that were removed.

1 method overrides EnvironmentCleanerInterface::cleanResults()
EnvironmentCleaner::cleanResults in core/lib/Drupal/Core/Test/EnvironmentCleaner.php
Clears test results from the results storage.

File

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

Class

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

Namespace

Drupal\Core\Test

Code

public function cleanResults(?TestRun $test_run = NULL) : int;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal