You are here

public function BricksTest::getTrees in Bricks​ 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/BricksTest.php \Drupal\Tests\bricks\Kernel\BricksTest::getTrees()

File

tests/src/Kernel/BricksTest.php, line 96

Class

BricksTest
Class BricksTest

Namespace

Drupal\Tests\bricks\Kernel

Code

public function getTrees() {

  // Keys are parents, values are child indexes.
  return [
    [
      [
        0 => [],
        3 => [
          1,
          2,
        ],
        5 => [
          4,
        ],
      ],
    ],
  ];
}