You are here

public function UserExportPluginInterface::profileGetTaxonomyFieldValue in Open Social 8.9

Same name and namespace in other branches
  1. 8.3 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  2. 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  3. 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  4. 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  5. 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  6. 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  7. 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  8. 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  9. 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()
  10. 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetTaxonomyFieldValue()

Returns the values of a taxonomy reference field.

Parameters

string $field_name: The field name to get the value for, should be taxonomy term reference.

\Drupal\profile\Entity\ProfileInterface $user_profile: The profile to get the data for.

Return value

string Returns comma separated string of taxonomy terms of the field.

1 method overrides UserExportPluginInterface::profileGetTaxonomyFieldValue()
UserExportPluginBase::profileGetTaxonomyFieldValue in modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php
Returns the values of a taxonomy reference field.

File

modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php, line 83

Class

UserExportPluginInterface
Defines an interface for User export plugin plugins.

Namespace

Drupal\social_user_export\Plugin

Code

public function profileGetTaxonomyFieldValue($field_name, ProfileInterface $user_profile = NULL);