You are here

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

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

Get latest version available of a library.

Return value

string The latest available version of the library.

1 call to LibrariesCDN::getLatestVersion()
libraries_cdn_add in ./libraries_cdn.module
Function to add a library to a page.

File

src/LibrariesCDN.php, line 224
Contains LibrariesCDN.

Class

LibrariesCDN
Class LibrariesCDN.

Namespace

Drupal\libraries_cdn

Code

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