function TranslationLinkTest::getTranslatorPermissions
Same name in other branches
- 8.9.x core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php \Drupal\Tests\content_translation\Functional\Views\TranslationLinkTest::getTranslatorPermissions()
- 10 core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php \Drupal\Tests\content_translation\Functional\Views\TranslationLinkTest::getTranslatorPermissions()
- 11.x core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php \Drupal\Tests\content_translation\Functional\Views\TranslationLinkTest::getTranslatorPermissions()
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ Views/ TranslationLinkTest.php, line 62
Class
- TranslationLinkTest
- Tests the content translation overview link field handler.
Namespace
Drupal\Tests\content_translation\Functional\ViewsCode
protected function getTranslatorPermissions() {
$permissions = parent::getTranslatorPermissions();
$permissions[] = 'access user profiles';
return $permissions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.