library.discovery
Same name in other branches
- 9 core/core.services.yml \library.discovery
- 10 core/core.services.yml \library.discovery
Class
Drupal\Core\Asset\LibraryDiscovery8 string references to library.discovery
- AttachedAssetsTest::testDynamicLibrary in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Dynamically defines an asset library and alters it.
- AttachedAssetsTest::testLibraryAlter in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Adds a JavaScript library to the page and alters it.
- AttachedAssetsTest::testLibraryNameConflicts in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests that multiple modules can implement libraries with the same name.
- LegacyLibraryDiscoveryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ LegacyLibraryDiscoveryTest.php - LibraryDiscoveryIntegrationTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ LibraryDiscoveryIntegrationTest.php
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Asset\LibraryDiscovery
- arguments:
- - '@library.discovery.collector'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.