function redhen_contact_entity_property_info_alter in RedHen CRM 7
Implements hook_entity_property_info_alter().
File
- modules/
redhen_contact/ redhen_contact.module, line 126 - Module file for RedHen contacts.
Code
function redhen_contact_entity_property_info_alter(&$info) {
$info['user']['properties']['redhen_contact'] = array(
'label' => "redhen_contact",
'description' => "Points to the RedHen Contact entity connected to this user.",
'getter callback' => 'redhen_contact_load_by_user_callback',
'type' => 'redhen_contact',
);
}