BookManagerTest::$translation

Same name in other branches
  1. 9 core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::translation
  2. 8.9.x core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::translation
  3. 11.x core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::translation

The mocked translation manager.

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

File

core/modules/book/tests/src/Unit/BookManagerTest.php, line 52

Class

BookManagerTest
@coversDefaultClass \Drupal\book\BookManager @group book @group legacy

Namespace

Drupal\Tests\book\Unit

Code

protected $translation;

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