You are here

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

Returns converted tag name to machine readable.

Parameters

string $label: Label of term.

Return value

string Tag machine name.

1 method overrides SocialProfileTagServiceInterface::tagLabelToMachineName()
SocialProfileTagService::tagLabelToMachineName in modules/social_features/social_profile/src/SocialProfileTagService.php
Returns converted tag name to machine readable.

File

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

Class

SocialProfileTagServiceInterface
Interface SocialProfileTagServiceInterface.

Namespace

Drupal\social_profile

Code

public function tagLabelToMachineName($label);