You are here

public function CssCollectionRenderer::__construct in Advanced CSS/JS Aggregation 8.2

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.

Overrides CssCollectionRenderer::__construct

File

src/Asset/CssCollectionRenderer.php, line 29

Class

CssCollectionRenderer

Namespace

Drupal\advagg\Asset

Code

public function __construct(StateInterface $state, ConfigFactoryInterface $config_factory) {
  $this->state = $state;
  $this->config = $config_factory
    ->get('advagg.settings');
}