public function ChangeMultipleOgMembershipRolesActionTestBase::executeMultipleProvider in Organic groups 8
Data provider for testExecuteMultiple().
File
- tests/
src/ Kernel/ Action/ ChangeMultipleOgMembershipRolesActionTestBase.php, line 76
Class
- ChangeMultipleOgMembershipRolesActionTestBase
- Base class for tests for plugins that change multiple roles at once.
Namespace
Drupal\Tests\og\Kernel\ActionCode
public function executeMultipleProvider() {
// Test a few combinations of different memberships.
return [
[
[
'pending',
'member',
],
],
[
[
'blocked',
'member',
'group_moderator',
],
],
[
[
'blocked',
'pending',
'member',
'group_administrator',
'group_moderator',
],
],
];
}