You are here

service library.discovery in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \library.discovery
  2. 10 core/core.services.yml \library.discovery

Class

Drupal\Core\Asset\LibraryDiscovery
9 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.
DeprecatedJqueryUiAssetsTest::testDeprecatedJqueryUi in core/tests/Drupal/KernelTests/Core/Asset/DeprecatedJqueryUiAssetsTest.php
Confirm deprecation status and contents of jQuery UI libraries.
JqueryUiLibraryAssetsTest::setUp in core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Asset\LibraryDiscovery
  2. arguments:
  3. - '@library.discovery.collector'