class AssetDumper

Dumps a CSS or JavaScript asset.

Hierarchy

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 AssetDumperInterface::dump

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