You are here

protected function GroupContentOperationPermissionTest::t in Organic groups 8

Mocked string translation method.

Parameters

string $string: The string to be translated.

Return value

string The same string. For this test it is not important whether the string is correctly translated or not.

1 call to GroupContentOperationPermissionTest::t()
GroupContentOperationPermissionTest::groupContentOperationPermissionProvider in tests/src/Unit/GroupContentOperationPermissionTest.php
Data provider; Array with group content permissions.

File

tests/src/Unit/GroupContentOperationPermissionTest.php, line 416

Class

GroupContentOperationPermissionTest
Tests group content permissions.

Namespace

Drupal\Tests\og\Unit

Code

protected function t($string) {
  return $string;
}