You are here

public function AttachedAssetsInterface::setAlreadyLoadedLibraries in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php \Drupal\Core\Asset\AttachedAssetsInterface::setAlreadyLoadedLibraries()

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

Parameters

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

Return value

$this

1 method overrides AttachedAssetsInterface::setAlreadyLoadedLibraries()
AttachedAssets::setAlreadyLoadedLibraries in core/lib/Drupal/Core/Asset/AttachedAssets.php
Sets the asset libraries that the current request marked as already loaded.

File

core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 76
Contains \Drupal\Core\Asset\AttachedAssetsInterface.

Class

AttachedAssetsInterface
The attached assets collection for the current response.

Namespace

Drupal\Core\Asset

Code

public function setAlreadyLoadedLibraries(array $libraries);