Issue #2474071 by lauriii: hook_library_alter() clean up
parent
49a1b846ec
commit
97b923bcd7
|
@ -66,8 +66,6 @@ class LibraryDiscovery implements LibraryDiscoveryInterface {
|
|||
$libraries = $this->collector->get($extension);
|
||||
$this->libraryDefinitions[$extension] = [];
|
||||
foreach ($libraries as $name => $definition) {
|
||||
// Allow modules and themes to dynamically attach request and context
|
||||
// specific data for this library; e.g., localization.
|
||||
$library_name = "$extension/$name";
|
||||
$this->libraryDefinitions[$extension][$name] = $definition;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue