You are here

service string_translator.locale.lookup in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/locale.services.yml \string_translator.locale.lookup

Class

Drupal\locale\LocaleTranslation

Tags

  • string_translator
  • needs_destruction
1 string reference to string_translator.locale.lookup
LocaleTranslationTest::testSerializable in core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php
Tests that \Drupal\locale\LocaleTranslation is serializable.

File

core/modules/locale/locale.services.yml
core/modules/locale/locale.services.yml

View source
  1. class: Drupal\locale\LocaleTranslation
  2. arguments:
  3. - '@locale.storage'
  4. - '@cache.default'
  5. - '@lock'
  6. - '@config.factory'
  7. - '@language_manager'
  8. - '@request_stack'
  9. tags:
  10. - { name: string_translator }
  11. - { name: needs_destruction }