public static function NotificationSubscriber::getSubscribedEvents in Bynder 4.0.x
File
- modules/
bynder_sns/ src/ EventSubscriber/ NotificationSubscriber.php, line 137
Class
- NotificationSubscriber
- Subscribes to Amazon SNS notifications to update bynder metadata.
Namespace
Drupal\bynder_sns\EventSubscriberCode
public static function getSubscribedEvents() {
$events[SnsEvents::NOTIFICATION][] = [
'onNotification',
];
return $events;
}