string_translation
Same name in other branches
- 8.9.x core/core.services.yml \string_translation
- 10 core/core.services.yml \string_translation
Class
Drupal\Core\StringTranslation\TranslationManagerTags
- service_collector
56 string references to string_translation
- BaseFieldDefinitionTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - BlockManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Block/ BlockManagerTest.php - BookManagerDeprecationTest::testOptionalParametersDeprecation in core/
modules/ book/ tests/ src/ Kernel/ BookManagerDeprecationTest.php - @covers ::__construct
- 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 - Creates an instance of the plugin.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\StringTranslation\TranslationManager
- arguments:
- - '@language.default'
- tags:
- - { name: service_collector, tag: string_translator, call: addTranslator }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.