public function MobileNumberUtilInterface::tfaAccountNumber in Mobile Number 2.0.x
Same name and namespace in other branches
- 8 src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::tfaAccountNumber()
Gets account mobile number if tfa was enabled for the user.
Parameters
int $uid: User id.
Return value
string International number
1 method overrides MobileNumberUtilInterface::tfaAccountNumber()
- MobileNumberUtil::tfaAccountNumber in src/
MobileNumberUtil.php - Gets account mobile number if tfa was enabled for the user.
File
- src/
MobileNumberUtilInterface.php, line 309
Class
- MobileNumberUtilInterface
- Provides an interface for mobile number utility.
Namespace
Drupal\mobile_numberCode
public function tfaAccountNumber($uid);