You are here

public function AdminConfigure::__construct in Image Lazyloader 8

Constructs a \Drupal\lazyloader\Form\LazyLoaderAdminConfigure object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Theme\Registry $theme_registry: The theme registry.

Overrides ConfigFormBase::__construct

File

src/Form/AdminConfigure.php, line 32

Class

AdminConfigure
Class AdminConfigure.

Namespace

Drupal\lazyloader\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Registry $theme_registry) {
  parent::__construct($config_factory);
  $this->configuration = $this
    ->config('lazyloader.configuration');
  $this->themeRegistry = $theme_registry;
}