Same name in other branches
  1. 5.0.x advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct()
  2. 8.x-3.x advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct()
  3. 8.x-4.x 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');
}