You are here

function realname_help in Real Name 6

Same name and namespace in other branches
  1. 8 realname.module \realname_help()
  2. 5 realname.module \realname_help()
  3. 7 realname.module \realname_help()
  4. 2.x realname.module \realname_help()

Implements hook_help().

File

./realname.module, line 27

Code

function realname_help($path, $args = NULL) {
  switch ($path) {
    case 'admin/user/realname':
    case 'admin/user/realname/module':
    case 'admin/user/realname/fields':
    case 'admin/user/realname/bypass':

      // Show rebuild warning
      if (variable_get('realname_recalculate', FALSE)) {
        drupal_set_message(t('In order to apply new settings you need to <a href="!rebuild">rebuild</a> your realnames.', array(
          '!rebuild' => url('admin/user/realname/recalc'),
        )), 'warning');
      }
      return t('This page displays the status of and settings for the RealName module.');
    case 'admin/help#realname':
      return t('This simple module adds a "realname" element (method) to a user object when that object is loaded.');
  }
}