Issue #1897770 by YesCT, jayboodhun: Make getTranslatorPermissions() protected.

8.0.x
catch 2013-02-06 15:59:28 +00:00
parent 050c8a74b5
commit 05d0b5a814
5 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ class CommentTranslationUITest extends EntityTranslationUITest {
/**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/
function getTranslatorPermissions() {
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('post comments', 'administer comments'));
}

View File

@ -52,7 +52,7 @@ class NodeTranslationUITest extends EntityTranslationUITest {
/**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/
function getTranslatorPermissions() {
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array("edit any $this->bundle content"));
}

View File

@ -69,7 +69,7 @@ class TermTranslationUITest extends EntityTranslationUITest {
/**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/
function getTranslatorPermissions() {
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy'));
}

View File

@ -39,7 +39,7 @@ class EntityTestTranslationUITest extends EntityTranslationUITest {
/**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/
function getTranslatorPermissions() {
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer entity_test content'));
}

View File

@ -44,7 +44,7 @@ class UserTranslationUITest extends EntityTranslationUITest {
/**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/
function getTranslatorPermissions() {
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer users'));
}