You are here

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

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

Return all available file(s).

Return value

array Return an array of files, keyed by library versions.

3 calls to LibrariesCDN::getFiles()
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.
libraries_cdn_add in ./libraries_cdn.module
Function to add a library to a page.

File

src/LibrariesCDN.php, line 152
Contains LibrariesCDN.

Class

LibrariesCDN
Class LibrariesCDN.

Namespace

Drupal\libraries_cdn

Code

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