public static function SmsDeliveryReportsProcessor::getSubscribedEvents in SMS Framework 8
Same name and namespace in other branches
- 2.x 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 58
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;
}