function TranslationManager::__construct
Same name in this branch
- 11.x core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::__construct()
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::__construct()
- 9 core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::__construct()
- 8.9.x core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::__construct()
File
-
core/
modules/ locale/ src/ TranslationManager.php, line 17
Class
- TranslationManager
- Plural index implementation.
Namespace
Drupal\localeCode
public function __construct(LanguageDefault $default_language, protected PluralFormulaInterface $pluralFormula) {
parent::__construct($default_language);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.