protected function ContentTranslationWorkflowsTest::getEditorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationWorkflowsTest::getEditorPermissions()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationWorkflowsTest::getEditorPermissions()
Returns an array of permissions needed for the editor.
Overrides ContentTranslationTestBase::getEditorPermissions
File
- core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationWorkflowsTest.php, line 144
Class
- ContentTranslationWorkflowsTest
- Tests the content translation workflows for the test entity.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getEditorPermissions() {
return [
'administer entity_test content',
'view test entity',
'view test entity translations',
];
}