You are here

public function CDNBase::setLibrary in Libraries CDN API 7

Set the library to work with.

Parameters

string $library: The library to work with.

Overrides CDNBaseInterface::setLibrary

2 calls to CDNBase::setLibrary()
CDNBase::search in src/Type/CDNBase.php
Perform a search for a library.
Dummy::search in modules/libraries_cdn_example_plugin/src/Plugin/LibrariesCDN/Dummy.php
Perform a search for a library.

File

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

Class

CDNBase
Class CDNBase.

Namespace

Drupal\libraries_cdn\Type

Code

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