function autoassignrole_content_profile_admin_form_submit in Auto Assign Role 6
Same name and namespace in other branches
- 6.2 autoassignrole.module \autoassignrole_content_profile_admin_form_submit()
1 string reference to 'autoassignrole_content_profile_admin_form_submit'
- autoassignrole_form_alter in ./
autoassignrole.module - Implementation of hook_form_alter().
File
- ./
autoassignrole.module, line 469 - The main autoassignrole.module file
Code
function autoassignrole_content_profile_admin_form_submit($form, &$form_state) {
$form_state['values']['autoassignrole_use'] = array_keys(array_filter($form_state['values']['autoassignrole_use']));
}