protected function LayoutBuilderAtBase::getTranslatorPermissions in Layout Builder Asymmetric Translation 8.2
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- tests/
src/ Functional/ LayoutBuilderAtBase.php, line 64
Class
- LayoutBuilderAtBase
- Base class for Layout Builder Asymmetric Translations.
Namespace
Drupal\Tests\layout_builder_at\FunctionalCode
protected function getTranslatorPermissions() {
$permissions = parent::getTranslatorPermissions();
$permissions[] = 'view test entity translations';
$permissions[] = 'view test entity';
$permissions[] = 'configure any layout';
$permissions[] = 'create and edit custom blocks';
return $permissions;
}