function scrollreveal_library_loaded in Scroll Reveal 7
Same name and namespace in other branches
- 7.2 scrollreveal.module \scrollreveal_library_loaded()
Check if the Scroll Reveal library has been loaded.
Return value
A boolean indicating the loaded status.
File
- ./
scrollreveal.module, line 459 - Basic Module file.
Code
function scrollreveal_library_loaded() {
if (($library = libraries_load('scrollreveal')) && !empty($library['loaded'])) {
return TRUE;
}
else {
return FALSE;
}
}