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($data, $file_extension);
doc_Drupal
2016-10-29 08:44:51
Comments
Leave a Comment

Please login to continue.