public function CssCollectionGrouper::__construct in Advanced CSS/JS Aggregation 8.2
Construct the AssetDumper instance.
Parameters
\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.
File
- src/
Asset/ CssCollectionGrouper.php, line 48
Class
- CssCollectionGrouper
- Groups CSS assets.
Namespace
Drupal\advagg\AssetCode
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;
}