You are here

public function SettingsForm::__construct in Easy Social 8.4

Same name and namespace in other branches
  1. 8.3 contrib/easy_social_example/src/Form/SettingsForm.php \Drupal\easy_social_example\SettingsForm::__construct()

Constructs a \Drupal\user\AccountSettingsForm object.

Parameters

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

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

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

Overrides ConfigFormBase::__construct

File

contrib/easy_social_example/src/Form/SettingsForm.php, line 39
Contains \Drupal\easy_social_example\SettingsForm.

Class

SettingsForm
Configure user settings for this site.

Namespace

Drupal\easy_social_example

Code

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