You are here

function realname_help in Real Name 5

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

Implementation of hook_help().

File

./realname.module, line 24
The RealName module allows the admin to choose fields from the user profile that will be used to add a "realname" element (method) to a user object. Hook_user is used to automatically add this to any user object that is loaded.

Code

function realname_help($path, $args = NULL) {
  switch ($path) {
    case 'admin/user/realname':
      $output = t('This page displays the status of and settings for the RealName module.');
      $output .= '<p>Version: ' . MODULE_VERSION . '</p>';
      return $output;
    case 'admin/help#realname':
      return t('This simple module adds a "realname" element (method) to a user object when that object is loaded.');
  }
}