function _realname_role_submit in Real Name 6
Get picture entered on role form.
1 string reference to '_realname_role_submit'
- realname_form_alter in ./
realname.module - Implements hook_form_alter(). Intercepts the contact forms to show the realname.
File
- ./
realname.module, line 597
Code
function _realname_role_submit($form, &$form_state) {
$rid = $form_state['values']['rid'];
$pic = $form_state['values']['level'];
variable_set('realname_user_level_' . $rid, $pic);
}