function mixitup_views_installed in MixItUp Views 7
Check if the Mixitup library is installed.
Return value
bool A boolean indicating the installed status.
1 call to mixitup_views_installed()
- views_plugin_style_mixitup_views::options_form in ./
views_plugin_style_mixitup_views.inc - Render the given style.
File
- ./
mixitup_views.module, line 38 - Provides a Views style plugin for displaying content with Mixitup filtering.
Code
function mixitup_views_installed() {
if (($library = libraries_detect('mixitup')) && !empty($library['installed'])) {
return TRUE;
}
else {
return FALSE;
}
}