public function MobileNumberUtilInterface::getToken in Mobile Number 8
Same name and namespace in other branches
- 2.0.x src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::getToken()
Gets token generated if verification code was sent.
Parameters
\libphonenumber\PhoneNumber $mobile_number: Phone number object.
Return value
string|null A drupal token (43 characters).
1 method overrides MobileNumberUtilInterface::getToken()
- MobileNumberUtil::getToken in src/
MobileNumberUtil.php - Gets token generated if verification code was sent.
File
- src/
MobileNumberUtilInterface.php, line 174
Class
- MobileNumberUtilInterface
- Provides an interface for mobile number utility.
Namespace
Drupal\mobile_numberCode
public function getToken(PhoneNumber $mobile_number);