You are here

function user_readonly_help in User Read-Only 6

Same name and namespace in other branches
  1. 5 user_readonly.module \user_readonly_help()
  2. 7 user_readonly.module \user_readonly_help()

Implementation of hook_help().

File

./user_readonly.module, line 52
This module provides restrictions on user account/profile fields.

Code

function user_readonly_help($path, $arg) {
  switch ($path) {
    case 'admin/user/user_readonly':
      global $user;
      return t('Here you can define modification restrictions for user/profile editing. The options below the fieldsets correspond to the appropriate fields which are visible in <a href="@account_url">account settings form</a>.  Note that password-type and date-type fields cannot be set read-only; they must be hidden.', array(
        '@account_url' => url("user/{$user->uid}/edit"),
      ));
      break;
  }
}