You are here

public function JsCollectionOptimizer::getAll in Drupal 8

Same name and namespace in other branches
  1. 9 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 186

Class

JsCollectionOptimizer
Optimizes JavaScript assets.

Namespace

Drupal\Core\Asset

Code

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