TranslationTest::$translationManager

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::translationManager
  2. 10 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::translationManager
  3. 11.x core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::translationManager

The translation manager used for testing.

Type: \Drupal\Core\StringTranslation\TranslationInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php, line 20

Class

TranslationTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Annotation%21Translation.php/class/Translation/9" title="Defines a translatable annotation object." class="local">\Drupal\Core\Annotation\Translation</a> @group Annotation

Namespace

Drupal\Tests\Core\Annotation

Code

protected $translationManager;

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