You are here

public function CdnBase::setLibrary in Libraries CDN API 8

Set the library to work with.

Parameters

string $library: The library to work with.

Overrides CdnBaseInterface::setLibrary

1 call to CdnBase::setLibrary()
CdnBase::search in src/CdnBase.php
Perform a search for a library.

File

src/CdnBase.php, line 50
Class CdnBase.

Class

CdnBase
Class CdnBase.

Namespace

Drupal\libraries_cdn

Code

public function setLibrary($library) {
  $this->configuration['library'] = $library;
  $this->configuration['available'] = NULL;
}