You are here

protected property SqlGroupGraphStorage::$ancestors in Subgroup (Graph) 1.0.x

Static cache for ancestor lookup.

This array allow us to retrieve the ancestors faster.

An nested array containing all ancestor group IDs for a group.

Type: int[][]

File

src/Graph/SqlGroupGraphStorage.php, line 22

Class

SqlGroupGraphStorage
SQL based storage of the group relationship graph.

Namespace

Drupal\ggroup\Graph

Code

protected $ancestors = [];