You are here

public static function LibrariesCDN::getLibrary in Libraries CDN API 7

Same name and namespace in other branches
  1. 8 src/LibrariesCdn.php \Drupal\libraries_cdn\LibrariesCdn::getLibrary()

Get the library in use.

Return value

string The library name.

2 calls to LibrariesCDN::getLibrary()
LibrariesCDN::getCDNLibrariesVariants in src/LibrariesCDN.php
Generate an array for the variants of the Libraries API module.
LibrariesCDN::getLocalLibrariesVariants in src/LibrariesCDN.php
Generate an array for the variants of the Libraries API module.

File

src/LibrariesCDN.php, line 162
Contains LibrariesCDN.

Class

LibrariesCDN
Class LibrariesCDN.

Namespace

Drupal\libraries_cdn

Code

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