Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php \Drupal\Core\Asset\AttachedAssetsInterface::setAlreadyLoadedLibraries()
  2. 9 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 72

Class

AttachedAssetsInterface
The attached assets collection for the current response.

Namespace

Drupal\Core\Asset

Code

public function setAlreadyLoadedLibraries(array $libraries);