Resolves asset libraries into concrete CSS and JavaScript assets.
Given an attached assets collection (to be loaded for the current response), the asset resolver can resolve those asset libraries into a list of concrete CSS and JavaScript assets.
In other words: this allows developers to translate Drupal's asset abstraction (asset libraries) into concrete assets.
Hierarchy
- interface \Drupal\Core\Asset\AssetResolverInterface
See also
\Drupal\Core\Asset\AttachedAssetsInterface
\Drupal\Core\Asset\LibraryDependencyResolverInterface
File
- core/lib/Drupal/Core/Asset/AssetResolverInterface.php, line 18
Namespace
Drupal\Core\Asset
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AssetResolverInterface::getCssAssets | public | function | Returns the CSS assets for the current response's libraries. |
AssetResolverInterface::getJsAssets | public | function | Returns the JavaScript assets for the current response's libraries. |
Please login to continue.