string_translation

Same name and namespace in other branches
  1. 9 core/core.services.yml \string_translation
  2. 8.9.x core/core.services.yml \string_translation

Class

Drupal\Core\StringTranslation\TranslationManager

Tags

  • service_collector
72 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
BulkFormTest::testViewsForm in core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php
@covers ::viewsForm
CheckpointStorageTest::getConfigImporter in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
CommentBulkFormTest::testConstructor in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
Tests the constructor assignment of actions.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\StringTranslation\TranslationManager
  2. arguments:
  3. - '@language.default'
  4. tags:
  5. - { 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.