Issue #2474071 by lauriii: hook_library_alter() clean up

8.0.x
xjm 2015-04-19 18:19:13 +02:00
parent 49a1b846ec
commit 97b923bcd7
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}