You are here

function fc_entity_load in Field Complete 7

Implements hook_entity_load().

File

./fc.module, line 127
Field Complete - Provides field-based completeness for any entity.

Code

function fc_entity_load($entities, $entity_type) {
  if (fc_entity_is_enabled($entity_type)) {
    foreach ($entities as $entity) {
      $entity->fc = fcComplete::load($entity_type, $entity);
    }
  }
}