function TranslateFormBase::__construct

Same name and namespace in other branches
  1. 10 core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::__construct()
  2. 11.x core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::__construct()
  3. 9 core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::__construct()
  4. 8.9.x core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::__construct()

File

core/modules/locale/src/Form/TranslateFormBase.php, line 26

Class

TranslateFormBase
Defines the locale user interface translation form base.

Namespace

Drupal\locale\Form

Code

public function __construct(protected StringStorageInterface $localeStorage, protected StateInterface $state, protected LanguageManagerInterface $languageManager, protected LocaleLanguages $localeLanguages) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.