The default asset resolver.
Hierarchy
- class \Drupal\Core\Asset\AssetResolver implements AssetResolverInterface
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. |
Please login to continue.