You are here

public function StateLogger::cleanLogs in Preview Link 2.x

Same name and namespace in other branches
  1. 2.0.x tests/modules/preview_link_test/src/StateLogger.php \Drupal\preview_link_test\StateLogger::cleanLogs()

Deletes captured logs.

File

tests/modules/preview_link_test/src/StateLogger.php, line 64

Class

StateLogger
Sends logs to state.

Namespace

Drupal\preview_link_test

Code

public function cleanLogs() : void {
  $this->state
    ->delete(static::STATE_LOGGER);
}