You are here

function bootstrap_library_installed in Bootstrap Library 7

Check if the Bootstrap library is installed.

Return value

A boolean indicating the installed status.

File

./bootstrap_library.module, line 255
Primarily Drupal hooks.

Code

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