You are here

function email_tfa_tfa_api in Two-factor Authentication (TFA) 7

Implements hook_tfa_api().

File

./tfa.api.php, line 55
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function email_tfa_tfa_api() {
  return array(
    'title' => t('Email code'),
    'send callback' => 'email_tfa_send',
    'address callback' => 'email_tfa_get_address',
  );
}