public LibraryDependencyResolverInterface::getLibrariesWithDependencies(array $libraries)
Gets the given libraries with their dependencies.
Given ['core/a', 'core/b', 'core/c'], with core/a depending on core/c and core/b on core/d, returns ['core/a', 'core/b', 'core/c', 'core/d'].
string[] $libraries: A list of libraries, in the order they should be loaded.
string[] A list of libraries, in the order they should be loaded, including their dependencies.
public function getLibrariesWithDependencies(array $libraries);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!LibraryDependencyResolverInterface.php/function/LibraryDependencyResolverInterface::getLibrariesWithDependencies/8.1.x