You are here

public static function LibrariesCdn::isAvailable in Libraries CDN API 8

Same name and namespace in other branches
  1. 7 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.

1 call to LibrariesCdn::isAvailable()
LibrariesCdn::find in src/LibrariesCdn.php
Return CDN Plugin id's of the CDN who provides a library.

File

src/LibrariesCdn.php, line 133
Contains LibrariesCdn.

Class

LibrariesCdn
Class LibrariesCdn.

Namespace

Drupal\libraries_cdn

Code

public static function isAvailable() {
  return self::$plugin
    ->isAvailable();
}