You are here

public function CdnBase::getURL in Libraries CDN API 8

Get a particular URL.

Return value

string The URL.

Overrides CdnBaseInterface::getURL

6 calls to CdnBase::getURL()
CdnBase::convertFiles in src/CdnBase.php
CdnBase::getFiles in src/CdnBase.php
Return all available file(s).
CdnBase::getInformation in src/CdnBase.php
Get library information.
CdnBase::getVersions in src/CdnBase.php
Return all available version(s).
CdnBase::isAvailable in src/CdnBase.php
Check if library is available.

... See full list

File

src/CdnBase.php, line 73
Class CdnBase.

Class

CdnBase
Class CdnBase.

Namespace

Drupal\libraries_cdn

Code

public function getURL($identifier) {
  return isset($this->configuration['urls'][$identifier]) ? $this->configuration['urls'][$identifier] : FALSE;
}