You are here

protected function PageManagerTranslationIntegrationTest::getTranslatorPermissions in Page Manager 8

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

src/Tests/PageManagerTranslationIntegrationTest.php, line 48
Contains \Drupal\page_manager\Tests\PageManagerTranslationIntegrationTest.

Class

PageManagerTranslationIntegrationTest
Tests that overriding the entity page does not affect content translation.

Namespace

Drupal\page_manager\Tests

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), [
    'administer pages',
    'administer pages',
  ]);
}