diff --git a/core/core.services.yml b/core/core.services.yml index 4144aeb..32d1c40 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -761,6 +761,6 @@ services: class: Drupal\Core\Asset\AssetDumper library.discovery: class: Drupal\Core\Asset\LibraryDiscovery - arguments: ['@cache.cache', '@module_handler', '@theme_handler'] + arguments: ['@cache.cache', '@module_handler'] info_parser: class: Drupal\Core\Extension\InfoParser diff --git a/core/lib/Drupal/Core/Asset/LibraryDiscovery.php b/core/lib/Drupal/Core/Asset/LibraryDiscovery.php index aa351dd..130876a 100644 --- a/core/lib/Drupal/Core/Asset/LibraryDiscovery.php +++ b/core/lib/Drupal/Core/Asset/LibraryDiscovery.php @@ -50,10 +50,8 @@ class LibraryDiscovery implements LibraryDiscoveryInterface { * The cache backend. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. - * @param \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler - * The theme handler. */ - public function __construct(CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler) { + public function __construct(CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) { $this->cache = $cache_backend; $this->moduleHandler = $module_handler; }