function cer_get_cer_struct in Corresponding Entity References 7.3
Creates a parent struct for the lineage, depth, owner, and original properties. All that these other callbacks really need is the entity type and object, so that's what this returns.
1 string reference to 'cer_get_cer_struct'
- cer_entity_property_info in ./
cer.module - Implements hook_entity_property_info().
File
- ./
cer.properties.inc, line 21 - Contains entity property callback functions for the 'cer' struct exposed to Entity API.
Code
function cer_get_cer_struct($entity, array $options, $property, $entity_type, array $info) {
return array(
$entity_type,
$entity,
);
}