You are here

public function ConfigForm::__construct in Linked Field 8

Constructs an ConfigForm object.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

Overrides ConfigFormBase::__construct

File

src/Form/ConfigForm.php, line 35

Class

ConfigForm
Class ConfigForm.

Namespace

Drupal\linked_field\Form

Code

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