class AssetResolver

The default asset resolver.

Hierarchy

File

core/lib/Drupal/Core/Asset/AssetResolver.php, line 15

Namespace

Drupal\Core\Asset

Members

Name Modifiers Type Description
AssetResolver::$cache protected property The cache backend.
AssetResolver::$languageManager protected property The language manager.
AssetResolver::$libraryDependencyResolver protected property The library dependency resolver.
AssetResolver::$libraryDiscovery protected property The library discovery service.
AssetResolver::$moduleHandler protected property The module handler.
AssetResolver::$themeManager protected property The theme manager.
AssetResolver::getCssAssets public function Returns the CSS assets for the current response's libraries. Overrides AssetResolverInterface::getCssAssets
AssetResolver::getJsAssets public function Returns the JavaScript assets for the current response's libraries. Overrides AssetResolverInterface::getJsAssets
AssetResolver::getJsSettingsAssets protected function Returns the JavaScript settings assets for this response's libraries.
AssetResolver::getLibrariesToLoad protected function Returns the libraries that need to be loaded.
AssetResolver::sort public static function Sorts CSS and JavaScript resources.
AssetResolver::__construct public function Constructs a new AssetResolver instance.

© 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!AssetResolver.php/class/AssetResolver/8.1.x