You are here

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

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

Class

LibrariesCdn
Class LibrariesCdn.

Namespace

Drupal\libraries_cdn

Code

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