You are here

function crm_core_contact_title in CRM Core 7

Title callback for a contact.

Parameters

object $contact: Contact object.

Return value

String Returns the string for the contact.

4 calls to crm_core_contact_title()
crm_core_contact_ui_delete_form in modules/crm_core_contact_ui/crm_core_contact_ui.pages.inc
Form for deleting a contact.
crm_core_contact_view_page in modules/crm_core_contact/plugins/tasks/view.inc
Entry point for our overridden crm_core_contact view.
crm_core_match_testing_page_title in modules/crm_core_match/crm_core_match.test.inc
@file Contains functionality for testing purposes.
crm_core_relationship_form in modules/crm_core_relationship_ui/crm_core_relationship_ui.pages.inc
Form builder for CRM Core Activity forms.
1 string reference to 'crm_core_contact_title'
crm_core_contact_ui_menu in modules/crm_core_contact_ui/crm_core_contact_ui.module
Implements hook_menu().

File

modules/crm_core_contact/crm_core_contact.module, line 900
Provides default CRM Core Contact entities and the ability to create more.

Code

function crm_core_contact_title($contact) {
  return entity_label('crm_core_contact', $contact);
}