You are here

function cer_get_field_collection_lineage in Corresponding Entity References 7.3

Gets a field collection's lineage as a string, e.g. node:page:field_my_collection::field_collection_item:field_my_collection:%

1 string reference to 'cer_get_field_collection_lineage'
cer_entity_property_info_alter in ./cer.module
Implements hook_entity_property_info_alter().

File

./cer.properties.field_collection.inc, line 15
Contains entity property callback functions for the 'cer' struct exposed to Entity API on field collections.

Code

function cer_get_field_collection_lineage(array $data, array $options, $property, $data_type, array $info) {
  return implode('::', $info['raw getter callback']($data, $options, $property, $data_type, $info));
}