Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
05d0b5a8
Commit
05d0b5a8
authored
Feb 06, 2013
by
catch
Browse files
Issue
#1897770
by YesCT, jayboodhun: Make getTranslatorPermissions() protected.
parent
050c8a74
Changes
5
Hide whitespace changes
Inline
Side-by-side
core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php
View file @
05d0b5a8
...
...
@@ -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'
));
}
...
...
core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php
View file @
05d0b5a8
...
...
@@ -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"
));
}
...
...
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php
View file @
05d0b5a8
...
...
@@ -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'
));
}
...
...
core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php
View file @
05d0b5a8
...
...
@@ -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'
));
}
...
...
core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php
View file @
05d0b5a8
...
...
@@ -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'
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment