protected function ContentTranslationSyncImageTest::getEditorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationSyncImageTest::getEditorPermissions()
- 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\FunctionalCode
protected function getEditorPermissions() {
// Every entity-type-specific test needs to define these.
return [
'administer entity_test_mul fields',
'administer languages',
'administer content translation',
];
}