You are here

public function TwitterSettingsForm::__construct in Easy Social 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/TwitterSettingsForm.php \Drupal\easy_social\Form\TwitterSettingsForm::__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

src/Form/TwitterSettingsForm.php, line 40
Contains \Drupal\easy_social\TwitterSettingsForm.

Class

TwitterSettingsForm
Configure user settings for this site.

Namespace

Drupal\easy_social\Form

Code

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