You are here

public function SwiftMailerDrupalStateLogger::dump 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::dump()

File

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

Class

SwiftMailerDrupalStateLogger

Namespace

Drupal\swiftmailer_test

Code

public function dump() {
  return \Drupal::state()
    ->get('swiftmailer.mail_collector', []);
}