You are here

protected function LanguageSelectorTranslatableTest::getAdministratorPermissions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php \Drupal\language\Tests\LanguageSelectorTranslatableTest::getAdministratorPermissions()

Returns an array of permissions needed for the translator.

1 call to LanguageSelectorTranslatableTest::getAdministratorPermissions()
LanguageSelectorTranslatableTest::setUp in core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php
Sets up a Drupal site for running functional and integration tests.

File

core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php, line 55
Contains \Drupal\language\Tests\LanguageSelectorTranslatableTest.

Class

LanguageSelectorTranslatableTest
Tests the content translation settings language selector options.

Namespace

Drupal\language\Tests

Code

protected function getAdministratorPermissions() {
  return array_filter(array(
    'translate interface',
    'administer content translation',
    'create content translations',
    'update content translations',
    'delete content translations',
    'administer languages',
  ));
}