public static function LibrariesCDN::isAvailable in Libraries CDN API 7
Same name and namespace in other branches
- 8 src/LibrariesCdn.php \Drupal\libraries_cdn\LibrariesCdn::isAvailable()
Check if library is available.
Return value
bool Return TRUE if the library is available on the CDN, FALSE otherwise.
2 calls to LibrariesCDN::isAvailable()
- LibrariesCDN::find in src/
LibrariesCDN.php - Return CDN Plugin id's of the CDN who provides a library.
- libraries_cdn_add in ./
libraries_cdn.module - Function to add a library to a page.
File
- src/
LibrariesCDN.php, line 132 - Contains LibrariesCDN.
Class
- LibrariesCDN
- Class LibrariesCDN.
Namespace
Drupal\libraries_cdnCode
public static function isAvailable() {
return self::$plugin
->isAvailable();
}