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\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}