protected function CommentTranslationUITest::getTranslatorPermissions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Functional/CommentTranslationUITest.php \Drupal\Tests\comment\Functional\CommentTranslationUITest::getTranslatorPermissions()
- 9 core/modules/comment/tests/src/Functional/CommentTranslationUITest.php \Drupal\Tests\comment\Functional\CommentTranslationUITest::getTranslatorPermissions()
File
- core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php, line 93
Class
- CommentTranslationUITest
- Tests the Comment Translation UI.
Namespace
Drupal\Tests\comment\FunctionalCode
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), [
'post comments',
'administer comments',
'access comments',
]);
}