public function AdminSettingsForm::__construct in SMS Framework 8
Constructs a \Drupal\sms_user\Form\AdminSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\sms\Provider\PhoneNumberVerificationInterface $phone_number_verification_provider: The phone number verification provider.
Overrides ConfigFormBase::__construct
File
- modules/
sms_user/ src/ Form/ AdminSettingsForm.php, line 35
Class
- AdminSettingsForm
- Provides a general settings form for SMS User.
Namespace
Drupal\sms_user\FormCode
public function __construct(ConfigFactoryInterface $config_factory, PhoneNumberVerificationInterface $phone_number_verification_provider) {
parent::__construct($config_factory);
$this->phoneNumberVerificationProvider = $phone_number_verification_provider;
}