abstract protected function WorkbenchEmailTestBase::getAdminPermissions in Workbench Email 2.x
Same name and namespace in other branches
- 8 tests/src/Functional/WorkbenchEmailTestBase.php \Drupal\Tests\workbench_email\Functional\WorkbenchEmailTestBase::getAdminPermissions()
Gets permisisons for admin user.
Return value
array Permission names.
1 call to WorkbenchEmailTestBase::getAdminPermissions()
- WorkbenchEmailTestBase::setUp in tests/
src/ Functional/ WorkbenchEmailTestBase.php
2 methods override WorkbenchEmailTestBase::getAdminPermissions()
- ContentModerationWorkbenchEmailTest::getAdminPermissions in tests/
src/ Functional/ ContentModerationWorkbenchEmailTest.php - Gets permisisons for admin user.
- WorkbenchTransitionEmailTest::getAdminPermissions in tests/
src/ Functional/ WorkbenchTransitionEmailTest.php - Gets permisisons for admin user.
File
- tests/
src/ Functional/ WorkbenchEmailTestBase.php, line 211
Class
- WorkbenchEmailTestBase
- Defines a base class for workbench email tests.
Namespace
Drupal\Tests\workbench_email\FunctionalCode
protected abstract function getAdminPermissions();