You are here

public static function SmsEventSubscriber::getSubscribedEvents in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::getSubscribedEvents()
  2. 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 49

Class

SmsEventSubscriber
Event subscriber responding to SMS Framework events.

Namespace

Drupal\sms_user\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[SmsEvents::MESSAGE_INCOMING_POST_PROCESS][] = [
    'createAccount',
  ];
  return $events;
}