function party_user_form_user in Party 8.2
Same name and namespace in other branches
- 7 modules/party_user/party_user.module \party_user_form_user()
Form to edit an attached user.
2 string references to 'party_user_form_user'
- hook_party_data_set_info in ./
party.api.php - Defines data sets to be used by parties.
- party_user_party_data_set_info in modules/
party_user/ party_user.module - Implements hook_party_data_set_info()
File
- modules/
party_user/ party_user.module, line 245 - Support for linking users to parties
Code
function party_user_form_user(&$form, &$form_state, $data_set, $delta, $party) {
module_load_include('inc', 'user', 'user.pages');
$form += user_profile_form($form, $form_state, $data_set
->getEntity($delta));
unset($form['actions']);
}