function ContentTranslationSyncImageTest::getEditorPermissions

Same name and namespace in other branches
  1. 8.9.x 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()
  3. 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationSyncImageTest::getEditorPermissions()

Overrides ContentTranslationTestBase::getEditorPermissions

File

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

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',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.