diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php index 2b44138cab9..c67e2b9e518 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php @@ -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')); } diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php index 7b13462bd7e..acda01eb5f4 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php @@ -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")); } diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php index 4c0dde2f8a2..4084e2a9f56 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php @@ -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')); } diff --git a/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php b/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php index 78bcc46741a..3a34da19643 100644 --- a/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php +++ b/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php @@ -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')); } diff --git a/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php b/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php index 3b97557fd42..171a9764338 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php @@ -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')); }