LibraryDiscovery::$libraryDefinitions
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::libraryDefinitions
- 8.9.x core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::libraryDefinitions
The final library definitions, statically cached.
Hooks hook_library_info_alter() and hook_js_settings_alter() allow modules and themes to dynamically alter a library definition (once per request).
Type: array
File
-
core/
lib/ Drupal/ Core/ Asset/ LibraryDiscovery.php, line 27
Class
- LibraryDiscovery
- Discovers available asset libraries in Drupal.
Namespace
Drupal\Core\AssetCode
protected $libraryDefinitions = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.