public function ChangeMultipleOgMembershipRolesActionTestBase::executeProvider in Organic groups 8
Data provider for testExecute().
Overrides ActionTestBase::executeProvider
File
- tests/
src/ Kernel/ Action/ ChangeMultipleOgMembershipRolesActionTestBase.php, line 134
Class
- ChangeMultipleOgMembershipRolesActionTestBase
- Base class for tests for plugins that change multiple roles at once.
Namespace
Drupal\Tests\og\Kernel\ActionCode
public function executeProvider() {
// Test each membership.
return [
[
'member',
],
[
'pending',
],
[
'blocked',
],
[
'group_administrator',
],
[
'group_moderator',
],
];
}