public static function InvoiceConfirmationSubscriber::getSubscribedEvents in Commerce Invoice 8.2
File
- src/
EventSubscriber/ InvoiceConfirmationSubscriber.php, line 53
Class
- InvoiceConfirmationSubscriber
- Sends a confirmation email when an invoice is generated.
Namespace
Drupal\commerce_invoice\EventSubscriberCode
public static function getSubscribedEvents() {
return [
'commerce_invoice.confirm.post_transition' => [
'sendInvoiceConfirmation',
-100,
],
];
}