You are here

protected function ContentTranslationTestBase::getEditorPermissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getEditorPermissions()
  2. 9 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.

File

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

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 [];
}