You are here

public function SocialProfileTagServiceInterface::buildHierarchy in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.2.x modules/social_features/social_profile/src/SocialProfileTagServiceInterface.php \Drupal\social_profile\SocialProfileTagServiceInterface::buildHierarchy()

Returns a multilevel tree.

Parameters

array $term_ids: An array of items that are selected.

Return value

array An hierarchy array of items with their parent.

1 method overrides SocialProfileTagServiceInterface::buildHierarchy()
SocialProfileTagService::buildHierarchy in modules/social_features/social_profile/src/SocialProfileTagService.php
Returns a multilevel tree.

File

modules/social_features/social_profile/src/SocialProfileTagServiceInterface.php, line 83

Class

SocialProfileTagServiceInterface
Interface SocialProfileTagServiceInterface.

Namespace

Drupal\social_profile

Code

public function buildHierarchy(array $term_ids);