W3cubDocs

/Drupal 8

public function AttachedAssetsInterface::setAlreadyLoadedLibraries

public AttachedAssetsInterface::setAlreadyLoadedLibraries(array $libraries)

Sets the asset libraries that the current request marked as already loaded.

Parameters

string[] $libraries: The set of already loaded libraries.

Return value

$this

File

core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 72

Class

AttachedAssetsInterface
The attached assets collection for the current response.

Namespace

Drupal\Core\Asset

Code

public function setAlreadyLoadedLibraries(array $libraries);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!AttachedAssetsInterface.php/function/AttachedAssetsInterface::setAlreadyLoadedLibraries/8.1.x