You are here

public function DatalayerSettingsForm::__construct in dataLayer 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/DatalayerSettingsForm.php, line 27

Class

DatalayerSettingsForm
Defines a form that configures datalayer module settings.

Namespace

Drupal\datalayer\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
}