public function MobileNumberTfa::ready in Mobile Number 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/TfaValidation/MobileNumberTfa.php \Drupal\mobile_number\Plugin\TfaValidation\MobileNumberTfa::ready()
File
- src/
Plugin/ TfaValidation/ MobileNumberTfa.php, line 80 - MobileNumberTfa.php
Class
- MobileNumberTfa
- Class MobileNumberTfa is a validation and sending plugin for TFA.
Namespace
Drupal\mobile_number\Plugin\TfaValidationCode
public function ready() {
return $this->mobileNumberUtil
->tfaAccountNumber($this->context['uid']) ? TRUE : FALSE;
}