You are here

public function GroupContentOperationAccessAlterTest::groupContentEntityOperationAccessAlterHookTestProvider in Organic groups 8

Provides test data for ::testGroupContentEntityOperationAccessAlterHook().

Return value

string[][] Test cases for the 'update' and 'delete' entity operations.

File

tests/src/Kernel/Access/GroupContentOperationAccessAlterTest.php, line 172

Class

GroupContentOperationAccessAlterTest
Test that access to group content operations can be altered.

Namespace

Drupal\Tests\og\Kernel\Access

Code

public function groupContentEntityOperationAccessAlterHookTestProvider() : array {
  return [
    [
      'update',
    ],
    [
      'delete',
    ],
  ];
}