public function GroupAccessControlHandlerTest::updateOrDeleteAccessProvider in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/GroupAccessControlHandlerTest.php \Drupal\Tests\group\Kernel\GroupAccessControlHandlerTest::updateOrDeleteAccessProvider()
Data provider for testUpdateOrDeleteAccess().
Return value
array A list of testUpdateOrDeleteAccess method arguments.
File
- tests/
src/ Kernel/ GroupAccessControlHandlerTest.php, line 76
Class
- GroupAccessControlHandlerTest
- Tests the general access behavior of group entities.
Namespace
Drupal\Tests\group\KernelCode
public function updateOrDeleteAccessProvider() {
return [
'update-access' => [
'update',
'edit group',
],
'delete-access' => [
'delete',
'delete group',
],
];
}