You are here

public function SwiftMailerDrupalStateLogger::clear in Swift Mailer 8

Same name and namespace in other branches
  1. 8.2 tests/modules/swiftmailer_test/src/SwiftMailerDrupalStateLogger.php \Drupal\swiftmailer_test\SwiftMailerDrupalStateLogger::clear()

File

tests/modules/swiftmailer_test/src/SwiftMailerDrupalStateLogger.php, line 32

Class

SwiftMailerDrupalStateLogger

Namespace

Drupal\swiftmailer_test

Code

public function clear() {
  \Drupal::state()
    ->delete('swiftmailer.mail_collector');
}