Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setCssCollectionOptimizer()
  2. 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\advagg

Code

public function setCssCollectionOptimizer(AssetCollectionOptimizerInterface $cssCollectionOptimizer) {
    $this->cssCollectionOptimizer = $cssCollectionOptimizer;
    return $this;
}