function ContentTranslationTestBase::getEditorPermissions

Same name and namespace in other branches
  1. 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getEditorPermissions()

Returns an array of permissions needed for the editor.

1 method overrides ContentTranslationTestBase::getEditorPermissions()
MediaTranslationUITest::getEditorPermissions in core/modules/media/tests/src/Functional/MediaTranslationUITest.php
Returns an array of permissions needed for the editor.

File

core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php, line 136

Class

ContentTranslationTestBase
Base class for content translation tests.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function getEditorPermissions() {
  // Every entity-type-specific test needs to define these.
  return [];
}

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