You are here

function lingotek_entity_load in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_entity_load()
  2. 7.5 lingotek.module \lingotek_entity_load()
  3. 7.6 lingotek.module \lingotek_entity_load()

Implements hook_entity_load().

File

./lingotek.module, line 1736

Code

function lingotek_entity_load($entities, $type) {
  if ($type == 'field_collection_item') {
    foreach ($entities as $e) {
      lingotek_normalize_field_collection_language($e);
    }
  }
}