Commit 97b923bc authored by xjm's avatar xjm

Issue #2474071 by lauriii: hook_library_alter() clean up

parent 49a1b846
......@@ -66,8 +66,6 @@ public function getLibrariesByExtension($extension) {
$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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment