function JsCollectionOptimizerLazy::deleteAll
Same name in other branches
- 11.x core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php \Drupal\Core\Asset\JsCollectionOptimizerLazy::deleteAll()
Overrides AssetCollectionOptimizerInterface::deleteAll
File
-
core/
lib/ Drupal/ Core/ Asset/ JsCollectionOptimizerLazy.php, line 156
Class
- JsCollectionOptimizerLazy
- Optimizes JavaScript assets.
Namespace
Drupal\Core\AssetCode
public function deleteAll() {
$this->fileSystem
->deleteRecursive('assets://js');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.