public static function SmsDeliveryReportsProcessor::getSubscribedEvents in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/EventSubscriber/SmsDeliveryReportsProcessor.php \Drupal\sms\EventSubscriber\SmsDeliveryReportsProcessor::getSubscribedEvents()
- 2.1.x src/EventSubscriber/SmsDeliveryReportsProcessor.php \Drupal\sms\EventSubscriber\SmsDeliveryReportsProcessor::getSubscribedEvents()
File
- src/
EventSubscriber/ SmsDeliveryReportsProcessor.php, line 60
Class
- SmsDeliveryReportsProcessor
- Handles delivery reports as they come in and updates storage.
Namespace
Drupal\sms\EventSubscriberCode
public static function getSubscribedEvents() {
// Update delivery reports as they are received.
$events[SmsEvents::DELIVERY_REPORT_POST_PROCESS][] = [
'updateDeliveryReports',
1024,
];
return $events;
}