abstract public function ActionTestBase::accessProvider in Organic groups 8
Data provider for testAccess().
1 call to ActionTestBase::accessProvider()
- ActionTestBase::testAccess in tests/
src/ Kernel/ Action/ ActionTestBase.php - Checks that the user can perform the action on the membership.
5 methods override ActionTestBase::accessProvider()
- ApprovePendingOgMembershipActionTest::accessProvider in tests/
src/ Kernel/ Action/ ApprovePendingOgMembershipActionTest.php - Data provider for testAccess().
- BlockOgMembershipActionTest::accessProvider in tests/
src/ Kernel/ Action/ BlockOgMembershipActionTest.php - Data provider for testAccess().
- ChangeOgMembershipActionTestBase::accessProvider in tests/
src/ Kernel/ Action/ ChangeOgMembershipActionTestBase.php - Data provider for testAccess().
- PendingOgMembershipActionTest::accessProvider in tests/
src/ Kernel/ Action/ PendingOgMembershipActionTest.php - Data provider for testAccess().
- UnblockOgMembershipActionTest::accessProvider in tests/
src/ Kernel/ Action/ UnblockOgMembershipActionTest.php - Data provider for testAccess().
File
- tests/
src/ Kernel/ Action/ ActionTestBase.php, line 266
Class
- ActionTestBase
- Base class for testing action plugins.
Namespace
Drupal\Tests\og\Kernel\ActionCode
public abstract function accessProvider();