function lazyloader_theme_registry_alter in Image Lazyloader 7.2
Same name and namespace in other branches
- 8 lazyloader.module \lazyloader_theme_registry_alter()
- 7 lazyloader.module \lazyloader_theme_registry_alter()
Implements hook_theme_registry_alter().
File
- ./
lazyloader.module, line 97 - Lazyloader Module
Code
function lazyloader_theme_registry_alter(&$theme_registry) {
if (variable_get('lazyloader_enabled', LAZYLOADER_ENABLED)) {
$theme_registry['image']['function'] = 'theme_lazyloader_image';
}
return $theme_registry;
}