You are here

public function UserExportPluginInterface::profileGetFieldValue in Open Social 8.3

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

Returns the value of a field for a given profile.

Parameters

string $field_name: The field name to get the value for.

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

Return value

string Returns value of the field.

1 method overrides UserExportPluginInterface::profileGetFieldValue()
UserExportPluginBase::profileGetFieldValue in modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php
Returns the value of a field for a given profile.

File

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

Class

UserExportPluginInterface
Defines an interface for User export plugin plugins.

Namespace

Drupal\social_user_export\Plugin

Code

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