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