AssetOptimizerInterface::optimize

public AssetOptimizerInterface::optimize(array $asset) Optimizes an asset. Parameters array $asset: An asset. Return value string The optimized asset's contents. File core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php, line 19 Class AssetOptimizerInterface Interface defining a service that optimizes an asset. Namespace Drupal\Core\Asset Code public function optimize(array $asset);

AssetCollectionRendererInterface

Interface defining a service that generates a render array to render assets. Hierarchy interface \Drupal\Core\Asset\AssetCollectionRendererInterface File core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetCollectionRendererInterface::render public function Renders an asset collection.

AssetDumper

Dumps a CSS or JavaScript asset. Hierarchy class \Drupal\Core\Asset\AssetDumper implements AssetDumperInterface File core/lib/Drupal/Core/Asset/AssetDumper.php, line 10 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetDumper::dump public function The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes. Overrides

AssetDumper::dump

public AssetDumper::dump($data, $file_extension) The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes. Overrides AssetDumperInterface::dump File core/lib/Drupal/Core/Asset/AssetDumper.php, line 19 Class AssetDumper Dumps a CSS or JavaScript asset. Namespace Drupal\Core\Asset Code public function dump($data, $file_extension) { // Prefix filename

AssetCollectionRendererInterface::render

public AssetCollectionRendererInterface::render(array $assets) Renders an asset collection. Parameters array $assets: An asset collection. Return value array A render array to render the asset collection. File core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php, line 19 Class AssetCollectionRendererInterface Interface defining a service that generates a render array to render assets. Namespace Drupal\Core\Asset Code public function render(array $assets);

AssetDumperInterface::dump

public AssetDumperInterface::dump($data, $file_extension) Dumps an (optimized) asset to persistent storage. Parameters string $data: An (optimized) asset's contents. string $file_extension: The file extension of this asset. Return value string An URI to access the dumped asset. File core/lib/Drupal/Core/Asset/AssetDumperInterface.php, line 21 Class AssetDumperInterface Interface defining a service that dumps an (optimized) asset. Namespace Drupal\Core\Asset Code public function dump(

AssetDumperInterface

Interface defining a service that dumps an (optimized) asset. Hierarchy interface \Drupal\Core\Asset\AssetDumperInterface File core/lib/Drupal/Core/Asset/AssetDumperInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetDumperInterface::dump public function Dumps an (optimized) asset to persistent storage.

AssetCollectionGrouperInterface

Interface defining a service that logically groups a collection of assets. Hierarchy interface \Drupal\Core\Asset\AssetCollectionGrouperInterface File core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetCollectionGrouperInterface::group public function Groups a collection of assets into logical groups of asset collections.

AssetCollectionOptimizerInterface::optimize

public AssetCollectionOptimizerInterface::optimize(array $assets) Optimizes a collection of assets. Parameters array $assets: An asset collection. Return value array An optimized asset collection. File core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php, line 19 Class AssetCollectionOptimizerInterface Interface defining a service that optimizes a collection of assets. Namespace Drupal\Core\Asset Code public function optimize(array $assets);

AssetCollectionOptimizerInterface::getAll

public AssetCollectionOptimizerInterface::getAll() Returns all optimized asset collections assets. Return value string[] URIs for all optimized asset collection assets. File core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php, line 27 Class AssetCollectionOptimizerInterface Interface defining a service that optimizes a collection of assets. Namespace Drupal\Core\Asset Code public function getAll();