public function SwiftMailerDrupalStateLogger::sendPerformed in Swift Mailer 8
Same name and namespace in other branches
- 8.2 tests/modules/swiftmailer_test/src/SwiftMailerDrupalStateLogger.php \Drupal\swiftmailer_test\SwiftMailerDrupalStateLogger::sendPerformed()
File
- tests/
modules/ swiftmailer_test/ src/ SwiftMailerDrupalStateLogger.php, line 18
Class
Namespace
Drupal\swiftmailer_testCode
public function sendPerformed(Swift_Events_SendEvent $evt) {
$this
->add([
'method' => 'sendPerformed',
'body' => $evt
->getMessage()
->getBody(),
'subject' => $evt
->getMessage()
->getSubject(),
]);
}