You are here

public static function SmsEntityPhoneNumberProcessor::getSubscribedEvents in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/SmsEntityPhoneNumberProcessor.php \Drupal\sms\EventSubscriber\SmsEntityPhoneNumberProcessor::getSubscribedEvents()
  2. 2.1.x src/EventSubscriber/SmsEntityPhoneNumberProcessor.php \Drupal\sms\EventSubscriber\SmsEntityPhoneNumberProcessor::getSubscribedEvents()

File

src/EventSubscriber/SmsEntityPhoneNumberProcessor.php, line 79

Class

SmsEntityPhoneNumberProcessor
Resolve phone numbers for an entity using phone verification system.

Namespace

Drupal\sms\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[SmsEvents::ENTITY_PHONE_NUMBERS][] = [
    'entityPhoneNumbers',
    1024,
  ];
  return $events;
}