function blazy_entity_load in Blazy 7
Implements hook_entity_load().
File
- ./
blazy.module, line 23 - Provides basic Blazy integration for lazy loading and multi-serving images.
Code
function blazy_entity_load($entities, $entity_type) {
// Provides a consistent property targetType for quick reference.
foreach ($entities as $entity) {
$entity->targetType = $entity_type;
}
}