Same name in other branches
- 5.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setJsCollectionOptimizer()
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setJsCollectionOptimizer()
Set JavaScript asset collection optimizer service.
Paramètres
\Drupal\Core\Asset\AssetCollectionOptimizerInterface $jsCollectionOptimizer: The JavaScript asset collection optimizer service.
Return value
$this
Fichier
-
src/
AdvaggSettersTrait.php, line 189
Classe
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setJsCollectionOptimizer(AssetCollectionOptimizerInterface $jsCollectionOptimizer) {
$this->jsCollectionOptimizer = $jsCollectionOptimizer;
return $this;
}