Same name in other branches
  1. 6.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.

Paramètres

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

Fichier

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

Classe

AdvaggJsCollectionGrouper
Groups JavaScript assets.

Namespace

Drupal\advagg_bundler\Asset

Code

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