protected function LearningPathBrowserTestBase::getGlobalPermissions in Opigno Learning path 8
Same name and namespace in other branches
- 3.x tests/src/Functional/LearningPathBrowserTestBase.php \Drupal\Tests\opigno_learning_path\Functional\LearningPathBrowserTestBase::getGlobalPermissions()
Gets the global (site) permissions for the group creator.
Return value
string[] The permissions.
1 call to LearningPathBrowserTestBase::getGlobalPermissions()
- LearningPathBrowserTestBase::setUp in tests/
src/ Functional/ LearningPathBrowserTestBase.php
File
- tests/
src/ Functional/ LearningPathBrowserTestBase.php, line 72
Class
- LearningPathBrowserTestBase
- Provides a base class for Learning path group functional javascript tests.
Namespace
Drupal\Tests\opigno_learning_path\FunctionalCode
protected function getGlobalPermissions() {
return [
'view the administration theme',
'access administration pages',
'create learning_path group',
];
}