You are here

public function AccountRegistrationInterface::createAccount in SMS Framework 2.x

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

Process an incoming SMS to see if a new account should be created.

Parameters

\Drupal\sms\Message\SmsMessageInterface $sms_message: An incoming SMS message.

1 method overrides AccountRegistrationInterface::createAccount()
AccountRegistration::createAccount in modules/sms_user/src/AccountRegistration.php
Process an incoming SMS to see if a new account should be created.

File

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

Class

AccountRegistrationInterface
Defines interface for the account registration service.

Namespace

Drupal\sms_user

Code

public function createAccount(SmsMessageInterface $sms_message);