function JsCollectionOptimizer::getAll

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::getAll()
  2. 10 core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::getAll()

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.