You are here

public function SocialProfileTagService::isActive in Open Social 10.2.x

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

Returns whether the feature is turned on or not.

Return value

bool Whether tagging is turned on or not.

Overrides SocialProfileTagServiceInterface::isActive

1 call to SocialProfileTagService::isActive()
SocialProfileTagService::allowSplit in modules/social_features/social_profile/src/SocialProfileTagService.php
Returns whether splitting of fields is allowed.

File

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

Class

SocialProfileTagService
Provide a service for profile tagging.

Namespace

Drupal\social_profile

Code

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