Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setJsCollectionOptimizer()
  2. 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setJsCollectionOptimizer()

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