ContentTranslationTestBase::$controller

Same name in this branch
  1. 8.9.x core/modules/content_translation/src/Tests/ContentTranslationTestBase.php \Drupal\content_translation\Tests\ContentTranslationTestBase::controller
Same name in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::controller
  2. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::controller
  3. 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::controller

The translation controller for the current entity type.

Type: \Drupal\content_translation\ContentTranslationHandlerInterface

File

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

Class

ContentTranslationTestBase
Base class for content translation tests.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected $controller;

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