function mixitup_views_loaded in MixItUp Views 7
Check if the Mixitup library has been loaded.
Return value
bool A boolean indicating the loaded status.
1 call to mixitup_views_loaded()
- mixitup_views_apply in ./
mixitup_views.module - Apply mixitup library to container.
File
- ./
mixitup_views.module, line 53 - Provides a Views style plugin for displaying content with Mixitup filtering.
Code
function mixitup_views_loaded() {
if (($library = libraries_load('mixitup')) && !empty($library['loaded'])) {
return TRUE;
}
else {
return FALSE;
}
}