public function AccountSettingsForm::__construct

Constructs a \Drupal\user\AccountSettingsForm object.

Parameters

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

\Drupal\Core\Config\Context\ContextInterface $context: The configuration context.

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

Overrides SystemConfigFormBase::__construct

File

drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php, line 38
Contains \Drupal\user\AccountSettingsForm.

Class

AccountSettingsForm
Configure user settings for this site.

Namespace

Drupal\user

Code

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