You are here

public function SocialProfileTagService::useCategoryParent in Open Social 10.3.x

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

Returns whether using a parent of categories is allowed.

Return value

bool Whether using categories parent is turned on or not..

Overrides SocialProfileTagServiceInterface::useCategoryParent

File

modules/social_features/social_profile/src/SocialProfileTagService.php, line 143

Class

SocialProfileTagService
Provide a service for profile tagging.

Namespace

Drupal\social_profile

Code

public function useCategoryParent() {
  return $this->profileConfig
    ->get('use_category_parent');
}