You are here

public function CDNBase::setURL in Libraries CDN API 7

Set a particular URL.

Parameters

string $identifier: The identifier.

string $url: The URL.

Overrides CDNBaseInterface::setURL

File

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

Class

CDNBase
Class CDNBase.

Namespace

Drupal\libraries_cdn\Type

Code

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