You are here

public function SettingsForm::__construct in Warmer 8

Same name and namespace in other branches
  1. 2.x src/Form/SettingsForm.php \Drupal\warmer\Form\SettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 30

Class

SettingsForm
Settings form for the warmer module.

Namespace

Drupal\warmer\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, WarmerPluginManager $warmer_manager) {
  $this
    ->setConfigFactory($config_factory);
  $this->warmerManager = $warmer_manager;
}