You are here

function scrollreveal_installed in Scroll Reveal 7

Same name and namespace in other branches
  1. 7.2 scrollreveal.module \scrollreveal_installed()

Check if the Sroll Reveal library is installed.

Return value

A boolean indicating the installed status.

File

./scrollreveal.module, line 444
Basic Module file.

Code

function scrollreveal_installed() {
  if (($library = libraries_detect('scrollreveal')) && !empty($library['installed'])) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}