You are here

public function SendToPhoneForm::__construct in SMS Framework 8

Creates an new SendForm object.

Parameters

\Drupal\sms\Provider\SmsProviderInterface $sms_provider: The SMS service provider.

File

modules/sms_sendtophone/src/Form/SendToPhoneForm.php, line 41

Class

SendToPhoneForm
Default controller for the sms_sendtophone module.

Namespace

Drupal\sms_sendtophone\Form

Code

public function __construct(SmsProviderInterface $sms_provider) {
  $this->smsProvider = $sms_provider;
}