You are here

protected property OgContextCacheContextTestBase::$group in Organic groups 8

A mocked group entity.

Type: \Drupal\Core\Entity\EntityInterface|\Prophecy\Prophecy\ObjectProphecy

File

tests/src/Unit/Cache/Context/OgContextCacheContextTestBase.php, line 32

Class

OgContextCacheContextTestBase
Base class for testing cache contexts that rely on OgContext.

Namespace

Drupal\Tests\og\Unit\Cache\Context

Code

protected $group;