You are here

public static function SmsTestGatewayEventSubscriber::getSubscribedEvents in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/modules/sms_test_gateway/src/EventSubscriber/SmsTestGatewayEventSubscriber.php \Drupal\sms_test_gateway\EventSubscriber\SmsTestGatewayEventSubscriber::getSubscribedEvents()
  2. 2.1.x tests/modules/sms_test_gateway/src/EventSubscriber/SmsTestGatewayEventSubscriber.php \Drupal\sms_test_gateway\EventSubscriber\SmsTestGatewayEventSubscriber::getSubscribedEvents()

File

tests/modules/sms_test_gateway/src/EventSubscriber/SmsTestGatewayEventSubscriber.php, line 48

Class

SmsTestGatewayEventSubscriber
Test event subscriber.

Namespace

Drupal\sms_test_gateway\EventSubscriber

Code

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