You are here

public function HierarchyInterface::getSiblingIds in Facets 8

Retrieve the siblings for an array of ids.

Parameters

array $ids: An array of ids.

array $activeIds: An array of currently active ids.

bool $parentSiblings: Show parent siblings.

Return value

array Given sibling ids as key, value is an array of ids.

1 method overrides HierarchyInterface::getSiblingIds()
HierarchyPluginBase::getSiblingIds in src/Hierarchy/HierarchyPluginBase.php
Provide a default implementation for backward compatibility.

File

src/Hierarchy/HierarchyInterface.php, line 56

Class

HierarchyInterface
Interface HierarchyInterface.

Namespace

Drupal\facets\Hierarchy

Code

public function getSiblingIds(array $ids, array $activeIds = [], bool $parentSiblings = TRUE);