/**
 * Implements hook_entity_load().
 */
function {{ machine_name }}_entity_load($entities, $type) {
  foreach ($entities as $entity) {
    $entity->foo = mymodule_add_something($entity, $type);
  }
}
