public function BlockContentTranslationUITest::getTranslatorPermissions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/block_content/src/Tests/BlockContentTranslationUITest.php \Drupal\block_content\Tests\BlockContentTranslationUITest::getTranslatorPermissions()
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- core/
modules/ block_content/ src/ Tests/ BlockContentTranslationUITest.php, line 74 - Contains \Drupal\block_content\Tests\BlockContentTranslationUITest.
Class
- BlockContentTranslationUITest
- Tests the block content translation UI.
Namespace
Drupal\block_content\TestsCode
public function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array(
'translate any entity',
'access administration pages',
'administer blocks',
'administer block_content fields',
));
}