function tfa_help in Two-factor Authentication (TFA) 7.2
Same name and namespace in other branches
- 8 tfa.module \tfa_help()
- 6 tfa.module \tfa_help()
- 7 tfa.module \tfa_help()
Implements hook_help().
File
- ./
tfa.module, line 445 - Two-factor authentication for Drupal.
Code
function tfa_help($path, $arg) {
$link = '<p>' . t('For up-to-date help see the <a href="!url">TFA module documentation</a> on drupal.org.', array(
'!url' => url('http://drupal.org/node/1663240'),
)) . '</p>';
switch ($path) {
case 'admin/help#tfa':
$output = '<h3>' . t('Two-factor Authentication for Drupal') . '</h3>';
$output .= '<p>' . t('TFA is a base module for providing two-factor authentication for your Drupal site. As such it provides a framework for specific TFA plugins that act during user authentication to confirm a "second factor" for the user.') . '<p>';
// @todo include explanations on TFA module variables and fallback ordering
$output .= $link;
return $output;
}
}