You are here

public function AdminExclude::__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\Component\Plugin\PluginManagerInterface $condition_manager: The condition manager.

Overrides ConfigFormBase::__construct

File

src/Form/AdminExclude.php, line 40

Class

AdminExclude
Class AdminExclude.

Namespace

Drupal\lazyloader\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PluginManagerInterface $condition_manager) {
  parent::__construct($config_factory);
  $this->configuration = $this
    ->config('lazyloader.exclude');
  $this->conditionManager = $condition_manager;
}