Construct the AssetDumper instance.

Paramètres

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

\Drupal\Core\State\StateInterface $advagg_files: The AdvAgg file status state information storage service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

Fichier

src/Asset/CssCollectionGrouper.php, line 48

Classe

CssCollectionGrouper
Groups CSS assets.

Namespace

Drupal\advagg\Asset

Code

public function __construct(ConfigFactoryInterface $config_factory, StateInterface $advagg_files, ModuleHandlerInterface $module_handler) {
    $this->config = $config_factory->get('advagg.settings');
    $this->advaggFiles = $advagg_files;
    $this->moduleHandler = $module_handler;
}