You are here

protected function ContentTranslationSyncImageTest::getEditorPermissions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php \Drupal\content_translation\Tests\ContentTranslationSyncImageTest::getEditorPermissions()

Returns an array of permissions needed for the editor.

Overrides ContentTranslationTestBase::getEditorPermissions

File

core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php, line 79
Contains \Drupal\content_translation\Tests\ContentTranslationSyncImageTest.

Class

ContentTranslationSyncImageTest
Tests the field synchronization behavior for the image field.

Namespace

Drupal\content_translation\Tests

Code

protected function getEditorPermissions() {

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