Same name and namespace in other branches
  1. 5.0.x advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct() 1 commentaire
  2. 8.x-3.x advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct() 1 commentaire
  3. 8.x-4.x advagg_bundler/src/Asset/AdvaggJsCollectionGrouper.php \Drupal\advagg_bundler\Asset\AdvaggJsCollectionGrouper::__construct() 1 commentaire

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');
}