public function CssOptimizer::__construct in Advanced CSS/JS Aggregation 8.3
Same name and namespace in other branches
- 8.4 src/Asset/CssOptimizer.php \Drupal\advagg\Asset\CssOptimizer::__construct()
Constructs the Optimizer object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.
\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher $event_dispatcher: The event dispatcher.
\Drupal\Core\Cache\CacheBackendInterface $cache: The AdvAgg cache.
Overrides AssetOptimizer::__construct
File
- src/
Asset/ CssOptimizer.php, line 17
Class
- CssOptimizer
- The CSS Optimizer.
Namespace
Drupal\advagg\AssetCode
public function __construct(ConfigFactoryInterface $config_factory, ContainerAwareEventDispatcher $event_dispatcher, CacheBackendInterface $cache) {
$this->extension = 'css';
parent::__construct($config_factory, $event_dispatcher, $cache);
}