PermissionHandlerTest::$stringTranslation

Same name in other branches
  1. 9 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::stringTranslation
  2. 8.9.x core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::stringTranslation
  3. 10 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::stringTranslation

The mocked string translation.

Type: \Drupal\Tests\user\Unit\TestTranslationManager

File

core/modules/user/tests/src/Unit/PermissionHandlerTest.php, line 47

Class

PermissionHandlerTest
Tests the permission handler.

Namespace

Drupal\Tests\user\Unit

Code

protected $stringTranslation;

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