function LanguageSelectorTranslatableTest::getAdministratorPermissions
Returns an array of permissions needed for the translator.
1 call to LanguageSelectorTranslatableTest::getAdministratorPermissions()
- LanguageSelectorTranslatableTest::setUp in core/modules/ language/ tests/ src/ Functional/ LanguageSelectorTranslatableTest.php 
File
- 
              core/modules/ language/ tests/ src/ Functional/ LanguageSelectorTranslatableTest.php, line 55 
Class
- LanguageSelectorTranslatableTest
- Tests the content translation settings language selector options.
Namespace
Drupal\Tests\language\FunctionalCode
protected function getAdministratorPermissions() {
  return array_filter([
    'translate interface',
    'administer content translation',
    'create content translations',
    'update content translations',
    'delete content translations',
    'administer languages',
  ]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
