public static function SmsEventSubscriber::getSubscribedEvents in SMS Framework 8
Same name and namespace in other branches
- 2.x modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::getSubscribedEvents()
- 2.1.x modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::getSubscribedEvents()
File
- modules/
sms_user/ src/ EventSubscriber/ SmsEventSubscriber.php, line 47
Class
- SmsEventSubscriber
- Event subscriber responding to SMS Framework events.
Namespace
Drupal\sms_user\EventSubscriberCode
public static function getSubscribedEvents() {
$events[SmsEvents::MESSAGE_INCOMING_POST_PROCESS][] = [
'createAccount',
];
return $events;
}