AttachedAssetsInterface::setLibraries

public AttachedAssetsInterface::setLibraries(array $libraries)

Sets the asset libraries attached to the current response.

Parameters

string[] $libraries: A list of libraries, in the order they should be loaded.

Return value

$this

File

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

Class

AttachedAssetsInterface
The attached assets collection for the current response.

Namespace

Drupal\Core\Asset

Code

1
public function setLibraries(array $libraries);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.