You are here

protected property LibraryDiscovery::$libraryDefinitions in Drupal 9

Same name and namespace in other branches
  1. 8 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\Asset

Code

protected $libraryDefinitions = [];