namespace Drupal\Core\Asset

Same name in other branches
  1. 8.9.x Drupal\Core\Asset
  2. 10 Drupal\Core\Asset
  3. 11.x Drupal\Core\Asset
Object name File name Summary
AssetCollectionGrouperInterface core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php Interface defining a service that logically groups a collection of assets.
AssetCollectionOptimizerInterface core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Interface defining a service that optimizes a collection of assets.
AssetCollectionRendererInterface core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php Interface defining a service that generates a render array to render assets.
AssetDumper core/lib/Drupal/Core/Asset/AssetDumper.php Dumps a CSS or JavaScript asset.
AssetDumperInterface core/lib/Drupal/Core/Asset/AssetDumperInterface.php Interface defining a service that dumps an (optimized) asset.
AssetOptimizerInterface core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Interface defining a service that optimizes an asset.
AssetResolver core/lib/Drupal/Core/Asset/AssetResolver.php The default asset resolver.
AssetResolverInterface core/lib/Drupal/Core/Asset/AssetResolverInterface.php Resolves asset libraries into concrete CSS and JavaScript assets.
AttachedAssets core/lib/Drupal/Core/Asset/AttachedAssets.php The default attached assets collection.
AttachedAssetsInterface core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php The attached assets collection for the current response.
CssCollectionGrouper core/lib/Drupal/Core/Asset/CssCollectionGrouper.php Groups CSS assets.
CssCollectionOptimizer core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Optimizes CSS assets.
CssCollectionRenderer core/lib/Drupal/Core/Asset/CssCollectionRenderer.php Renders CSS assets.
CssOptimizer core/lib/Drupal/Core/Asset/CssOptimizer.php Optimizes a CSS asset.
JsCollectionGrouper core/lib/Drupal/Core/Asset/JsCollectionGrouper.php Groups JavaScript assets.
JsCollectionOptimizer core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Optimizes JavaScript assets.
JsCollectionRenderer core/lib/Drupal/Core/Asset/JsCollectionRenderer.php Renders JavaScript assets.
JsOptimizer core/lib/Drupal/Core/Asset/JsOptimizer.php Optimizes a JavaScript asset.
LibrariesDirectoryFileFinder core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.
LibraryDependencyResolver core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php Resolves the dependencies of asset (CSS/JavaScript) libraries.
LibraryDependencyResolverInterface core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php Resolves the dependencies of asset (CSS/JavaScript) libraries.
LibraryDiscovery core/lib/Drupal/Core/Asset/LibraryDiscovery.php Discovers available asset libraries in Drupal.
LibraryDiscoveryCollector core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php A CacheCollector implementation for building library extension info.
LibraryDiscoveryInterface core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Discovers information for asset (CSS/JavaScript) libraries.
LibraryDiscoveryParser core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Parses library files to get extension data.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.