public function MemberCountBlockTest::getActiveGroup in Organic groups 8
Callback providing the active group to be returned by the mocked OgContext.
Return value
\Drupal\entity_test\Entity\EntityTest The active group.
File
- tests/
src/ Kernel/ Plugin/ Block/ MemberCountBlockTest.php, line 371
Class
- MemberCountBlockTest
- Tests the member count block.
Namespace
Drupal\Tests\og\Kernel\Plugin\BlockCode
public function getActiveGroup() {
return $this->activeGroup;
}