protected function LayoutBuilderTranslationTest::getAdministratorPermissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderTranslationTest::getAdministratorPermissions()
Returns an array of permissions needed for the administrator.
Overrides ContentTranslationTestBase::getAdministratorPermissions
File
- core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTranslationTest.php, line 128
Class
- LayoutBuilderTranslationTest
- Tests that the Layout Builder works with translated content.
Namespace
Drupal\Tests\layout_builder\FunctionalCode
protected function getAdministratorPermissions() {
$permissions = parent::getAdministratorPermissions();
$permissions[] = 'administer entity_test_mul display';
return $permissions;
}