You are here

protected static property AddHierarchyTest::$hierarchy in Search API 8

A hierarchy to test.

Type: string[][]

File

tests/src/Kernel/Processor/AddHierarchyTest.php, line 43

Class

AddHierarchyTest
Tests the "Hierarchy" processor.

Namespace

Drupal\Tests\search_api\Kernel\Processor

Code

protected static $hierarchy = [
  'fruit' => [
    'apple',
    'pear',
  ],
  'vegetable' => [
    'radish',
    'turnip',
  ],
];