function redhen_contact_user_contact_form in RedHen CRM 7
A version of the RedHen Contact form displayed as a tab on Users.
2 string references to 'redhen_contact_user_contact_form'
- redhen_contact_contact_form_submit in modules/
redhen_contact/ includes/ redhen_contact.forms.inc - Submit callback for redhen_contact_contact_form().
- redhen_contact_menu in modules/
redhen_contact/ redhen_contact.module - Implements hook_menu().
File
- modules/
redhen_contact/ includes/ redhen_contact.forms.inc, line 84 - Forms for creating, editing, and deleting contacts.
Code
function redhen_contact_user_contact_form($form, &$form_state, $user) {
$contact = redhen_contact_load_by_user($user);
return redhen_contact_contact_form($form, $form_state, $contact);
}