interface AssetQueryStringInterface
Same name in other branches
- 10 core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php \Drupal\Core\Asset\AssetQueryStringInterface
Provides a cache busting query string service for asset URLs.
Hierarchy
- interface \Drupal\Core\Asset\AssetQueryStringInterface
Expanded class hierarchy of AssetQueryStringInterface
All classes that implement AssetQueryStringInterface
2 files declare their use of AssetQueryStringInterface
- CssCollectionRendererUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - DbUpdateController.php in core/
modules/ system/ src/ Controller/ DbUpdateController.php
File
-
core/
lib/ Drupal/ Core/ Asset/ AssetQueryStringInterface.php, line 10
Namespace
Drupal\Core\AssetView source
interface AssetQueryStringInterface {
/**
* Resets the cache query string added to all CSS and JavaScript URLs.
*
* Changing the cache query string appended to CSS and JavaScript URLs forces
* all browsers to fetch fresh files.
*/
public function reset() : void;
/**
* Gets the query string value.
*/
public function get() : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AssetQueryStringInterface::get | public | function | Gets the query string value. | 1 |
AssetQueryStringInterface::reset | public | function | Resets the cache query string added to all CSS and JavaScript URLs. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.