function LocaleLanguages::__construct

Same name and namespace in other branches
  1. 11.x core/modules/locale/src/LocaleLanguages.php \Drupal\locale\LocaleLanguages::__construct()

File

core/modules/locale/src/LocaleLanguages.php, line 13

Class

LocaleLanguages
Manages which languages are translatable and checks a specific language.

Namespace

Drupal\locale

Code

public function __construct(protected readonly LanguageManagerInterface $languageManager, protected readonly ConfigFactoryInterface $configFactory) {
}

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