You are here

public function AdvaggSettersTrait::setJsCollectionOptimizer in Advanced CSS/JS Aggregation 8.4

Set JavaScript asset collection optimizer service.

Parameters

\Drupal\Core\Asset\AssetCollectionOptimizerInterface $jsCollectionOptimizer: The JavaScript asset collection optimizer service.

Return value

$this

File

src/AdvaggSettersTrait.php, line 189

Class

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

public function setJsCollectionOptimizer(AssetCollectionOptimizerInterface $jsCollectionOptimizer) {
  $this->jsCollectionOptimizer = $jsCollectionOptimizer;
  return $this;
}