public function StatisticsSettingsForm::__construct

Constructs a \Drupal\user\StatisticsSettingsForm object.

Parameters

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

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

Overrides SystemConfigFormBase::__construct

File

drupal/core/modules/statistics/lib/Drupal/statistics/StatisticsSettingsForm.php, line 34
Contains \Drupal\statistics\StatisticsSettingsForm.

Class

StatisticsSettingsForm
Configure statistics settings for this site.

Namespace

Drupal\statistics

Code

public function __construct(ConfigFactory $config_factory, ModuleHandler $module_handler) {
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
}