You are here

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

Static cache for direct 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 42

Class

SqlGroupGraphStorage
SQL based storage of the group relationship graph.

Namespace

Drupal\ggroup\Graph

Code

protected $directAncestors = [];