public function MobileNumberTfa::getPluginContext 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::getPluginContext()
Return context for this plugin.
File
- src/
Plugin/ TfaValidation/ MobileNumberTfa.php, line 155 - MobileNumberTfa.php
Class
- MobileNumberTfa
- Class MobileNumberTfa is a validation and sending plugin for TFA.
Namespace
Drupal\mobile_number\Plugin\TfaValidationCode
public function getPluginContext() {
return [
'code' => $this->code,
'verification_token' => !empty($this->verificationToken) ? $this->verificationToken : '',
];
}