You are here

function redhen_contact_contact_title in RedHen CRM 7

Title callback for hook_menu().

Parameters

RedhenContact $contact: A loaded contact object.

Return value

string Contact label.

1 string reference to 'redhen_contact_contact_title'
redhen_contact_menu in modules/redhen_contact/redhen_contact.module
Implements hook_menu().

File

modules/redhen_contact/redhen_contact.module, line 640
Module file for RedHen contacts.

Code

function redhen_contact_contact_title(RedhenContact $contact) {
  return $contact
    ->label();
}