You are here

function lazy_is_library_installed in Lazy-load 7

Is Blazy library installed.

1 call to lazy_is_library_installed()
lazy_init in ./lazy.module
Implements hook_init().

File

./lazy.module, line 228
Module file for Lazy-load.

Code

function lazy_is_library_installed() {
  $blazy = libraries_detect('blazy');
  $blazy_installed = variable_get('lazy_library_installed');
  if ($blazy['installed'] !== $blazy_installed) {
    variable_set('lazy_library_installed', $blazy['installed']);
  }
  return $blazy['installed'];
}