function party_attached_entity_form_callback in Party 7
Same name and namespace in other branches
- 8.2 party.module \party_attached_entity_form_callback()
Get the form callback for attached entities.
Parameters
$data_set_name: The name of a data set.
2 calls to party_attached_entity_form_callback()
- party_data_set_attach_form in ./
party.module - Attach attached entity forms to a form.
- party_data_set_attach_form_submit in ./
party.module - Submit attached entity forms
File
- ./
party.module, line 1126 - Provides a generic CRM party entity.
Code
function party_attached_entity_form_callback($data_set_name) {
$data_set_info = party_get_data_set_info($data_set_name);
return $data_set_info['form callback'];
}