function redhen_contact_view in RedHen CRM 7
Display a contact.
Parameters
RedhenContact $contact: A Fully loaded contact object.
Return value
array Render array.
1 call to redhen_contact_view()
- redhen_contact_user_view in modules/
redhen_contact/ redhen_contact.module - Implements hook_user_view().
1 string reference to 'redhen_contact_view'
- redhen_contact_menu in modules/
redhen_contact/ redhen_contact.module - Implements hook_menu().
File
- modules/
redhen_contact/ redhen_contact.module, line 627 - Module file for RedHen contacts.
Code
function redhen_contact_view(RedhenContact $contact, $view_mode = 'full', $langcode = NULL, $page = NULL) {
return $contact
->view($view_mode, $langcode, $page);
}