interface AssetDumperUriInterface
Same name in other branches
- 10 core/lib/Drupal/Core/Asset/AssetDumperUriInterface.php \Drupal\Core\Asset\AssetDumperUriInterface
Interface defining a service that dumps an asset to a specified location.
Hierarchy
- interface \Drupal\Core\Asset\AssetDumperInterface
- interface \Drupal\Core\Asset\AssetDumperUriInterface extends \Drupal\Core\Asset\AssetDumperInterface
Expanded class hierarchy of AssetDumperUriInterface
All classes that implement AssetDumperUriInterface
1 file declares its use of AssetDumperUriInterface
- AssetControllerBase.php in core/
modules/ system/ src/ Controller/ AssetControllerBase.php
File
-
core/
lib/ Drupal/ Core/ Asset/ AssetDumperUriInterface.php, line 8
Namespace
Drupal\Core\AssetView source
interface AssetDumperUriInterface extends AssetDumperInterface {
/**
* Dumps an (optimized) asset to persistent storage.
*
* @param string $data
* The asset's contents.
* @param string $file_extension
* The file extension of this asset.
* @param string $uri
* The URI to dump to.
*
* @return string
* An URI to access the dumped asset.
*/
public function dumpToUri(string $data, string $file_extension, string $uri) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AssetDumperInterface::dump | public | function | Dumps an (optimized) asset to persistent storage. | 1 |
AssetDumperUriInterface::dumpToUri | public | function | Dumps an (optimized) asset to persistent storage. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.