function redhen_contact_property_user_set in RedHen CRM 7
Callback to set $contact->user.
Parameters
RedhenContact $contact: Contact entity.
string $name: Property name.
int $value: Property value. User uid in this case.
1 string reference to 'redhen_contact_property_user_set'
- RedhenContactMetadataController::entityPropertyInfo in modules/
redhen_contact/ lib/ redhen_contact.metadata.inc - Overrides entityPropertyInfo().
File
- modules/
redhen_contact/ redhen_contact.module, line 1441 - Module file for RedHen contacts.
Code
function redhen_contact_property_user_set(RedhenContact $contact, $name, $value, $langcode, $type, $info) {
$contact->uid = $value;
}