You are here

function tfa_test_tfa_api in Two-factor Authentication (TFA) 7

Same name and namespace in other branches
  1. 7.2 tests/tfa_test.module \tfa_test_tfa_api()

Implements hook_tfa_api().

File

tests/tfa_test.module, line 8

Code

function tfa_test_tfa_api() {
  return array(
    'title' => t('TFA test channel'),
    'send callback' => 'tfa_test_send',
    'address callback' => 'tfa_test_phone',
  );
}