service string_translation in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \string_translation
- 9 core/core.services.yml \string_translation
Class
Drupal\Core\StringTranslation\TranslationManagerTags
- service_collector
61 string references to string_translation
- BaseFieldDefinitionTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - CommentBulkFormTest::testConstructor in core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ CommentBulkFormTest.php - Tests the constructor assignment of actions.
- ConfigEntityMapper::create in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - ConfigImporterMissingContentTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterMissingContentTest.php - ConfigImportRecreateTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImportRecreateTest.php
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\StringTranslation\TranslationManager
- arguments:
- - '@language.default'
- tags:
- - { name: service_collector, tag: string_translator, call: addTranslator }