public function SmsEventSubscriber::__construct in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php \Drupal\sms_user\EventSubscriber\SmsEventSubscriber::__construct()
- 2.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 30
Class
- SmsEventSubscriber
- Event subscriber responding to SMS Framework events.
Namespace
Drupal\sms_user\EventSubscriberCode
public function __construct(AccountRegistrationInterface $account_registration) {
$this->accountRegistration = $account_registration;
}