function ContentTestTranslationUITest::getTranslatorPermissions
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::getTranslatorPermissions()
- 8.9.x core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::getTranslatorPermissions()
- 10 core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::getTranslatorPermissions()
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTestTranslationUITest.php, line 58
Class
- ContentTestTranslationUITest
- Tests the test content translation UI with the test entity.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getTranslatorPermissions() : array {
return array_merge(parent::getTranslatorPermissions(), [
'administer entity_test content',
'view test entity',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.