AttachedAssets::$libraries
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::libraries
- 8.9.x core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::libraries
- 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\AssetCode
public $libraries = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.