You are here

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

Same name in this branch
  1. 8.3 advagg_old_ie_compatibility/src/Asset/AdvaggCssCollectionGrouper.php \Drupal\advagg_old_ie_compatibility\Asset\AdvaggCssCollectionGrouper::__construct()
  2. 8.3 advagg_bundler/src/Asset/AdvaggCssCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggCssCollectionGrouper::__construct()
Same name and namespace in other branches
  1. 8.4 advagg_bundler/src/Asset/AdvaggCssCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggCssCollectionGrouper::__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/AdvaggCssCollectionGrouper.php, line 20

Class

AdvaggCssCollectionGrouper
Groups CSS assets.

Namespace

Drupal\advagg_bundler\Asset

Code

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