public function SwiftMailerDrupalStateLogger::clear in Swift Mailer 8
Same name and namespace in other branches
- 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
Namespace
Drupal\swiftmailer_testCode
public function clear() {
\Drupal::state()
->delete('swiftmailer.mail_collector');
}