public function HierarchyInterface::getParentIds in Facets 8
Retrieve all parent ids for one specific id.
Parameters
string $id: An entity id.
Return value
array An array of all parent ids.
1 method overrides HierarchyInterface::getParentIds()
- Taxonomy::getParentIds in src/
Plugin/ facets/ hierarchy/ Taxonomy.php - Retrieve all parent ids for one specific id.
File
- src/
Hierarchy/ HierarchyInterface.php, line 19
Class
- HierarchyInterface
- Interface HierarchyInterface.
Namespace
Drupal\facets\HierarchyCode
public function getParentIds($id);