function LocaleJs::__construct

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

File

core/modules/locale/src/LocaleJs.php, line 26

Class

LocaleJs
Provides the locale javascript related methods.

Namespace

Drupal\locale

Code

public function __construct(protected readonly StateInterface $state, protected readonly ConfigFactoryInterface $configFactory, protected readonly StringStorageInterface $localeStorage, protected readonly LocaleLanguages $localeLanguages, protected readonly LanguageManagerInterface $languageManager, protected readonly PluralFormulaInterface $pluralFormula, protected readonly FileSystemInterface $fileSystem, #[AutowireServiceClosure('logger.channel.locale')] protected readonly \Closure $logger, protected readonly EventDispatcherInterface $eventDispatcher) {
}

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