You are here

public function SocialProfileTagServiceInterface::getCategories 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::getCategories()

Returns all the top level term items, that are considered categories.

Return value

array An array of top level category items.

1 method overrides SocialProfileTagServiceInterface::getCategories()
SocialProfileTagService::getCategories in modules/social_features/social_profile/src/SocialProfileTagService.php
Returns all the top level term items, that are considered categories.

File

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

Class

SocialProfileTagServiceInterface
Interface SocialProfileTagServiceInterface.

Namespace

Drupal\social_profile

Code

public function getCategories();