You are here

public function MobileNumberTfa::getPluginContext in Mobile Number 7

Return context for this plugin.

File

src/MobileNumberTfa.php, line 148
Contains MobileNumberTfa.

Class

MobileNumberTfa
Class MobileNumberTfa is a validation and sending plugin for TFA.

Code

public function getPluginContext() {
  return array(
    'code' => $this->code,
    'verification_token' => !empty($this->verificationToken) ? $this->verificationToken : '',
  );
}