function public function CdnAssets::setLibrary

8.x-3.x CdnAssets.php public CdnAssets::setLibrary($library)

Sets the library associated with these assets.

Parameters

string $library: The library to set.

Return value

static

Class

CdnAssets
Class CdnAssets.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/CdnAssets.php (line 354)

public function setLibrary($library) {
  $this->library = $library;
  return $this;
}