function rdf_entity_load

Implements hook_entity_load().

File

modules/rdf/rdf.module, line 408

Code

function rdf_entity_load($entities, $type) {
    foreach ($entities as $entity) {
        // Extracts the bundle of the entity being loaded.
        list($id, $vid, $bundle) = entity_extract_ids($type, $entity);
        $entity->rdf_mapping = rdf_mapping_load($type, $bundle);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.