protected function EntityTranslationTestBase::getEditorPermissions

Returns an array of permissions needed for the editor.

1 call to EntityTranslationTestBase::getEditorPermissions()
EntityTranslationTestBase::setupUsers in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationTestBase.php
Creates and activates translator, editor and admin users.
1 method overrides EntityTranslationTestBase::getEditorPermissions()

File

drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationTestBase.php, line 122
Contains \Drupal\entity\Tests\EntityTranslationTestBase.

Class

EntityTranslationTestBase
Tests entity translation workflows.

Namespace

Drupal\translation_entity\Tests

Code

protected function getEditorPermissions() {

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