You are here

public function JsCollectionOptimizer::getAll in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::getAll()

Returns all optimized asset collections assets.

Return value

string[] URIs for all optimized asset collection assets.

Overrides AssetCollectionOptimizerInterface::getAll

File

core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 182

Class

JsCollectionOptimizer
Optimizes JavaScript assets.

Namespace

Drupal\Core\Asset

Code

public function getAll() {
  return $this->state
    ->get('system.js_cache_files');
}