You are here

public function SocialProfileTagService::allowSplit 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::allowSplit()

Returns whether splitting of fields is allowed.

Return value

bool Whether category split on field level is turned on or not.

Overrides SocialProfileTagServiceInterface::allowSplit

File

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

Class

SocialProfileTagService
Provide a service for profile tagging.

Namespace

Drupal\social_profile

Code

public function allowSplit() {
  return $this
    ->isActive() && $this->profileConfig
    ->get('allow_category_split');
}