JsCollectionOptimizer::$state

Same name in other branches
  1. 9 core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::state
  2. 8.9.x core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php \Drupal\Core\Asset\JsCollectionOptimizer::state

The state key/value store.

Type: \Drupal\Core\State\StateInterface

File

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

Class

JsCollectionOptimizer
Optimizes JavaScript assets.

Namespace

Drupal\Core\Asset

Code

protected $state;

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