public function SmsUserMenuLink::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x modules/sms_user/src/Plugin/Derivative/SmsUserMenuLink.php \Drupal\sms_user\Plugin\Derivative\SmsUserMenuLink::__construct()
- 2.1.x modules/sms_user/src/Plugin/Derivative/SmsUserMenuLink.php \Drupal\sms_user\Plugin\Derivative\SmsUserMenuLink::__construct()
Constructs a \Drupal\sms_user\Plugin\Derivative\SmsUserMenuLink instance.
Parameters
\Drupal\sms\Provider\PhoneNumberVerificationInterface $phone_number_verification: The phone number verification service.
File
- modules/
sms_user/ src/ Plugin/ Derivative/ SmsUserMenuLink.php, line 30
Class
- SmsUserMenuLink
- Provides dynamic menu links for SMS User.
Namespace
Drupal\sms_user\Plugin\DerivativeCode
public function __construct(PhoneNumberVerificationInterface $phone_number_verification) {
$this->phoneNumberVerification = $phone_number_verification;
}