function OriginatorSubscriber::getSubscribedEvents
File
-
core/
lib/ Drupal/ Core/ Mailer/ EventSubscriber/ OriginatorSubscriber.php, line 144
Class
- OriginatorSubscriber
- Message subscriber which sets the from and sender headers.
Namespace
Drupal\Core\Mailer\EventSubscriberCode
public static function getSubscribedEvents() : array {
return [
// Should be the last one to allow header changes by other listeners.
MessageEvent::class => [
'onMessage',
-255,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.