You are here

public function SearchLogConfigurationForm::__construct in Search Log 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler service.

Overrides ConfigFormBase::__construct

File

src/Form/SearchLogConfigurationForm.php, line 37

Class

SearchLogConfigurationForm

Namespace

Drupal\search_log\Form

Code

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