You are here

public function SmsEventSubscriber::__construct in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::__construct()
  2. 2.1.x modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::__construct()

Constructs a new SmsEvents instance.

Parameters

\Drupal\sms_user\AccountRegistrationInterface $account_registration: The account registration service.

File

modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php, line 28

Class

SmsEventSubscriber
Event subscriber responding to SMS Framework events.

Namespace

Drupal\sms_user\EventSubscriber

Code

public function __construct(AccountRegistrationInterface $account_registration) {
  $this->accountRegistration = $account_registration;
}