function LocaleFormHooks::__construct

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

File

core/modules/locale/src/Hook/LocaleFormHooks.php, line 25

Class

LocaleFormHooks
Form hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

public function __construct(protected StringStorageInterface $stringStorage, protected readonly ConfigFactoryInterface $configFactory, #[AutowireServiceClosure(LocaleFetch::class)] protected \Closure $localeFetchClosure, #[AutowireServiceClosure(LocaleConfigBatch::class)] protected \Closure $localeConfigBatchClosure) {
}

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