You are here

protected property ContentTranslationTestBase::$translator in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::translator
  2. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::translator

The account to be used to test translation operations.

Type: \Drupal\user\UserInterface

File

core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php, line 50

Class

ContentTranslationTestBase
Base class for content translation tests.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected $translator;