public function 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\AssetCode
public function dump($data, $file_extension);
© 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!AssetDumperInterface.php/function/AssetDumperInterface::dump/8.1.x