protected function EasyEmailTestBase::getAdministratorPermissions in Easy Email 8
Same name and namespace in other branches
- 2.0.x tests/src/Functional/EasyEmailTestBase.php \Drupal\Tests\easy_email\Functional\EasyEmailTestBase::getAdministratorPermissions()
1 call to EasyEmailTestBase::getAdministratorPermissions()
- EasyEmailTestBase::setUp in tests/
src/ Functional/ EasyEmailTestBase.php
File
- tests/
src/ Functional/ EasyEmailTestBase.php, line 87
Class
- EasyEmailTestBase
- Class EasyEmailTestBase
Namespace
Drupal\Tests\easy_email\FunctionalCode
protected function getAdministratorPermissions() {
$permissions = [
'administer email types',
'administer easy_email fields',
'add email entities',
'edit email entities',
'view all email entities',
'administer filters',
];
if (!empty($this->htmlFormat)) {
$permissions[] = $this->htmlFormat
->getPermissionName();
}
return $permissions;
}