function _roleassign_module_protect in RoleAssign 6
1 string reference to '_roleassign_module_protect'
- roleassign_form_alter in ./
roleassign.module - Implementation of hook_form_alter().
File
- ./
roleassign.module, line 198 - Allows site administrators to further delegate the task of managing user's roles.
Code
function _roleassign_module_protect(&$checkboxes) {
$checkboxes['roleassign']['#disabled'] = TRUE;
return $checkboxes;
}