You are here

function cer_profile2_get_profile2_lineage in Corresponding Entity References 7.3

Entity API getter callback. Returns the lineage of a Profile2 entity.

Return value

string

1 string reference to 'cer_profile2_get_profile2_lineage'
cer_profile2_entity_property_info_alter in extensions/cer_profile2/cer_profile2.module
Implements hook_entity_property_info_alter().

File

extensions/cer_profile2/cer_profile2.module, line 33

Code

function cer_profile2_get_profile2_lineage(array $data, array $options, $property, $data_type, array $info) {
  return 'user:user:profile_' . $data[1]->type . ':profile2:' . $data[1]->type . ':';
}