function ModerationLocaleTest::getAdministratorPermissions
1 call to ModerationLocaleTest::getAdministratorPermissions()
- ModerationLocaleTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationLocaleTest.php - Sets the test up.
File
-
core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationLocaleTest.php, line 38
Class
- ModerationLocaleTest
- Test content_moderation functionality with localization and translation.
Namespace
Drupal\Tests\content_moderation\FunctionalCode
protected function getAdministratorPermissions() : array {
return array_merge($this->permissions, [
'create content translations',
'bypass node access',
'translate any entity',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.