You are here

public function MutableQualityToolkitManager::__construct in Image Style Quality 8

Constructs a new MutableQualityToolkitManager instance.

File

src/MutableQualityToolkitManager.php, line 25

Class

MutableQualityToolkitManager
Manage setting quality values on different toolkits.

Namespace

Drupal\image_style_quality

Code

public function __construct(ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory) {
  $this->discovery = new YamlDiscovery('mutable_quality_toolkits', $module_handler
    ->getModuleDirectories());
  $this->configFactory = $config_factory;
}