You are here

function user_readonly_help in User Read-Only 5

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

Implementation of hook_help().

File

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

Code

function user_readonly_help($section) {
  switch ($section) {
    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 disabled; they must be deleted.', array(
        '@account_url' => url("user/{$user->uid}/edit"),
      ));
      break;
  }
}