You are here

public function CdnBase::setURL in Libraries CDN API 8

Set a particular URL.

Parameters

string $identifier: The identifier.

string $url: The URL.

Overrides CdnBaseInterface::setURL

File

src/CdnBase.php, line 65
Class CdnBase.

Class

CdnBase
Class CdnBase.

Namespace

Drupal\libraries_cdn

Code

public function setURL($identifier, $url) {
  $this->configuration['urls'][$identifier] = $url;
  $this->configuration['available'] = NULL;
}