You are here

public function Dummy::isAvailable in Libraries CDN API 7

Check if library is available.

Return value

bool Return TRUE if the library is available, otherwise, FALSE.

Overrides CDNBase::isAvailable

File

modules/libraries_cdn_example_plugin/src/Plugin/LibrariesCDN/Dummy.php, line 146
Plugin: jsDelivr.

Class

Dummy
Class Dummy.

Namespace

Drupal\libraries_cdn_example_plugin\Plugin\LibrariesCDN

Code

public function isAvailable() {
  return TRUE;
}