You are here

public function ThemeRegistryAlter::__construct in Image Lazyloader 8

Creates a new ThemeRegistryAlter instance.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.

\Drupal\Core\Config\ConfigFactoryInterface $config: The config factory.

File

src/Hooks/ThemeRegistryAlter.php, line 35

Class

ThemeRegistryAlter
Class ThemeRegistryAlter.

Namespace

Drupal\lazyloader\Hooks

Code

public function __construct(ModuleHandlerInterface $moduleHandler, ConfigFactoryInterface $config) {
  $this->moduleHandler = $moduleHandler;
  $this->config = $config;
}