You are here

public function ConfigForm::__construct in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Form/ConfigForm.php \Drupal\webprofiler\Form\ConfigForm::__construct()
  2. 8.2 webprofiler/src/Form/ConfigForm.php \Drupal\webprofiler\Form\ConfigForm::__construct()
  3. 4.x webprofiler/src/Form/ConfigForm.php \Drupal\webprofiler\Form\ConfigForm::__construct()

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

\Symfony\Component\HttpKernel\Profiler\Profiler $profiler:

\Drupal\webprofiler\Profiler\ProfilerStorageManager $storageManager:

array $templates:

Overrides ConfigFormBase::__construct

File

webprofiler/src/Form/ConfigForm.php, line 50

Class

ConfigForm
Class ConfigForm.

Namespace

Drupal\webprofiler\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Profiler $profiler, ProfilerStorageManager $storageManager, $templates) {
  parent::__construct($config_factory);
  $this->profiler = $profiler;
  $this->templates = $templates;
  $this->storageManager = $storageManager;
}