Skip to content
Snippets Groups Projects
Commit 05d0b5a8 authored by catch's avatar catch
Browse files

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

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