You are here

protected function ContentTranslationSyncImageTest::getEditorPermissions in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationSyncImageTest::getEditorPermissions()
  2. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationSyncImageTest::getEditorPermissions()

Returns an array of permissions needed for the editor.

Overrides ContentTranslationTestBase::getEditorPermissions

File

core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php, line 94

Class

ContentTranslationSyncImageTest
Tests the field synchronization behavior for the image field.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function getEditorPermissions() {

  // Every entity-type-specific test needs to define these.
  return [
    'administer entity_test_mul fields',
    'administer languages',
    'administer content translation',
  ];
}