protected function GroupPermissionTest::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 GroupPermissionTest::t()
- GroupPermissionTest::groupPermissionProvider in tests/
src/ Unit/ GroupPermissionTest.php - Data provider; Return permissions.
File
- tests/
src/ Unit/ GroupPermissionTest.php, line 308
Class
- GroupPermissionTest
- Group permissions tests.
Namespace
Drupal\Tests\og\UnitCode
protected function t($string) {
return $string;
}