string_translator.locale.lookup

Same name in other branches
  1. 9 core/modules/locale/locale.services.yml \string_translator.locale.lookup
  2. 8.9.x core/modules/locale/locale.services.yml \string_translator.locale.lookup
  3. 10 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

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 }

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