You are here

interface AccountRegistrationInterface in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_user/src/AccountRegistrationInterface.php \Drupal\sms_user\AccountRegistrationInterface
  2. 2.1.x modules/sms_user/src/AccountRegistrationInterface.php \Drupal\sms_user\AccountRegistrationInterface

Defines interface for the account registration service.

Hierarchy

Expanded class hierarchy of AccountRegistrationInterface

All classes that implement AccountRegistrationInterface

1 file declares its use of AccountRegistrationInterface
SmsEventSubscriber.php in modules/sms_user/src/EventSubscriber/SmsEventSubscriber.php

File

modules/sms_user/src/AccountRegistrationInterface.php, line 10

Namespace

Drupal\sms_user
View source
interface AccountRegistrationInterface {

  /**
   * Process an incoming SMS to see if a new account should be created.
   *
   * @param \Drupal\sms\Message\SmsMessageInterface $sms_message
   *   An incoming SMS message.
   */
  public function createAccount(SmsMessageInterface $sms_message);

}

Members

Namesort descending Modifiers Type Description Overrides
AccountRegistrationInterface::createAccount public function Process an incoming SMS to see if a new account should be created. 1