public function OrganizationTag::getValue in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 8.4 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 8.5 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 8.6 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 8.7 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 8.8 modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 10.3.x modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 10.1.x modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
- 10.2.x modules/social_features/social_profile/modules/social_profile_organization_tag/src/Plugin/UserExportPlugin/OrganizationTag.php \Drupal\social_profile_organization_tag\Plugin\UserExportPlugin\OrganizationTag::getValue()
Returns the value.
Parameters
\Drupal\user\UserInterface $entity: The User entity to get the value from.
Return value
string The value.
Overrides UserExportPluginBase::getValue
File
- modules/
social_features/ social_profile/ modules/ social_profile_organization_tag/ src/ Plugin/ UserExportPlugin/ OrganizationTag.php, line 29
Class
- OrganizationTag
- Provides a 'OrganizationTag' user export row.
Namespace
Drupal\social_profile_organization_tag\Plugin\UserExportPluginCode
public function getValue(UserInterface $entity) {
return $this
->profileGetTaxonomyFieldValue('field_profile_organization_tag', $this
->getProfile($entity));
}