You are here

public function HiddenLanguageForm::__construct in Hidden Language 2.x

Same name in this branch
  1. 2.x Form/HiddenLanguageForm.php \Drupal\hidden_language\Form\HiddenLanguageForm::__construct()
  2. 2.x src/Form/HiddenLanguageForm.php \Drupal\hidden_language\Form\HiddenLanguageForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/HiddenLanguageForm.php, line 28

Class

HiddenLanguageForm
Class HiddenLanguageForm.

Namespace

Drupal\hidden_language\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, HiddenLanguageManager $hiddenLanguageManagerService) {
  parent::__construct($config_factory);
  $this->hiddenLanguageManager = $hiddenLanguageManagerService;
}