You are here

protected property OgResolvedGroupCollection::$groupInfo in Organic groups 8

A collection of groups that were resolved by OgGroupResolver plugins.

An array of group information. Each item will be an associative array with the following keys:

  • entity: the group entity.
  • votes: an array of votes that have been cast for this entity.
  • cache_contexts: an array of cache contexts that were used to discover this group.

Type: array

File

src/OgResolvedGroupCollection.php, line 25

Class

OgResolvedGroupCollection
Contains a collection of groups discovered by OgGroupResolver plugins.

Namespace

Drupal\og

Code

protected $groupInfo = [];