protected function WorkbenchTransitionEmailTest::getAdminPermissions in Workbench Email 8
Same name and namespace in other branches
- 2.x tests/src/Functional/WorkbenchTransitionEmailTest.php \Drupal\Tests\workbench_email\Functional\WorkbenchTransitionEmailTest::getAdminPermissions()
Gets permisisons for admin user.
Return value
array Permission names.
Overrides WorkbenchEmailTestBase::getAdminPermissions
File
- tests/
src/ Functional/ WorkbenchTransitionEmailTest.php, line 81
Class
- WorkbenchTransitionEmailTest
- Tests the view access control handler for moderation state entities.
Namespace
Drupal\Tests\workbench_email\FunctionalCode
protected function getAdminPermissions() {
return [
'administer moderation state transitions',
'administer workbench_email templates',
'access administration pages',
];
}