protected function NodeTranslationUITest::getEditorPermissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getEditorPermissions()
- 10 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getEditorPermissions()
Returns an array of permissions needed for the editor.
Overrides ContentTranslationTestBase::getEditorPermissions
File
- core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php, line 142
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\Tests\node\FunctionalCode
protected function getEditorPermissions() {
return [
'administer nodes',
'create article content',
];
}