Commit 05d0b5a8 authored by catch's avatar catch

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

parent 050c8a74
...@@ -54,7 +54,7 @@ function setupBundle() { ...@@ -54,7 +54,7 @@ function setupBundle() {
/** /**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/ */
function getTranslatorPermissions() { protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('post comments', 'administer comments')); return array_merge(parent::getTranslatorPermissions(), array('post comments', 'administer comments'));
} }
......
...@@ -52,7 +52,7 @@ protected function setupBundle() { ...@@ -52,7 +52,7 @@ protected function setupBundle() {
/** /**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/ */
function getTranslatorPermissions() { protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array("edit any $this->bundle content")); return array_merge(parent::getTranslatorPermissions(), array("edit any $this->bundle content"));
} }
......
...@@ -69,7 +69,7 @@ protected function setupBundle() { ...@@ -69,7 +69,7 @@ protected function setupBundle() {
/** /**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/ */
function getTranslatorPermissions() { protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy')); return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy'));
} }
......
...@@ -39,7 +39,7 @@ function setUp() { ...@@ -39,7 +39,7 @@ function setUp() {
/** /**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/ */
function getTranslatorPermissions() { protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer entity_test content')); return array_merge(parent::getTranslatorPermissions(), array('administer entity_test content'));
} }
......
...@@ -44,7 +44,7 @@ function setUp() { ...@@ -44,7 +44,7 @@ function setUp() {
/** /**
* Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().
*/ */
function getTranslatorPermissions() { protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array('administer users')); return array_merge(parent::getTranslatorPermissions(), array('administer users'));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment