You are here

protected function ContentTranslationTestBase::getEditorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the editor.

2 calls to ContentTranslationTestBase::getEditorPermissions()
ContentTranslationTestBase::getAdministratorPermissions in core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
Returns an array of permissions needed for the administrator.
ContentTranslationTestBase::setupUsers in core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
Creates and activates translator, editor and admin users.
3 methods override ContentTranslationTestBase::getEditorPermissions()
ContentTranslationSyncImageTest::getEditorPermissions in core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
Returns an array of permissions needed for the editor.
ContentTranslationWorkflowsTest::getEditorPermissions in core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
Returns an array of permissions needed for the editor.
NodeTranslationUITest::getEditorPermissions in core/modules/node/src/Tests/NodeTranslationUITest.php
Returns an array of permissions needed for the editor.

File

core/modules/content_translation/src/Tests/ContentTranslationTestBase.php, line 135
Contains \Drupal\content_translation\Tests\ContentTranslationTestBase.

Class

ContentTranslationTestBase
Base class for content translation tests.

Namespace

Drupal\content_translation\Tests

Code

protected function getEditorPermissions() {

  // Every entity-type-specific test needs to define these.
  return array();
}