protected function LayoutBuilderTranslationTest::getTranslatorPermissions in Layout Builder Symmetric Translations 8
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- tests/
src/ Functional/ LayoutBuilderTranslationTest.php, line 256
Class
- LayoutBuilderTranslationTest
- Tests that the Layout Builder UI works with translated content.
Namespace
Drupal\Tests\layout_builder_st\FunctionalCode
protected function getTranslatorPermissions() {
$permissions = parent::getTranslatorPermissions();
$permissions[] = 'view test entity translations';
$permissions[] = 'view test entity';
$permissions[] = 'configure any layout';
return $permissions;
}