You are here

public function CDNBase::getURL in Libraries CDN API 7

Get a particular URL.

Return value

string The URL.

Overrides CDNBaseInterface::getURL

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

... See full list

File

src/Type/CDNBase.php, line 74
Class CDNBase.

Class

CDNBase
Class CDNBase.

Namespace

Drupal\libraries_cdn\Type

Code

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