You are here

public function MySmsEventSubscriber::myDeliveryReportPostProcessor in SMS Framework 8

Same name and namespace in other branches
  1. 2.x sms.api.php \MySmsEventSubscriber::myDeliveryReportPostProcessor()
  2. 2.1.x sms.api.php \MySmsEventSubscriber::myDeliveryReportPostProcessor()

An example event subscriber.

See also

\Drupal\sms\Event\SmsEvents::DELIVERY_REPORT_POST_PROCESS

File

./sms.api.php, line 105
SMS Framework hooks.

Class

MySmsEventSubscriber
Event subscribers for SMS Framework.

Code

public function myDeliveryReportPostProcessor(\Drupal\sms\Event\SmsDeliveryReportEvent $event) {
  $event
    ->getReports();
}