AttachedAssets::$libraries

Same name in other branches
  1. 9 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::libraries
  2. 10 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::libraries
  3. 11.x core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::libraries

The (ordered) list of asset libraries attached to the current response.

Type: string[]

File

core/lib/Drupal/Core/Asset/AttachedAssets.php, line 15

Class

AttachedAssets
The default attached assets collection.

Namespace

Drupal\Core\Asset

Code

public $libraries = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.