You are here

public function AdvaggJsCollectionGrouper::__construct in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct()

Construct the grouper instance.

Parameters

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

File

advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php, line 20

Class

AdvaggJsCollectionGrouper
Groups JavaScript assets.

Namespace

Drupal\advagg_bundler\Asset

Code

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