public function UserExportPluginInterface::profileGetAddressFieldValue in Open Social 8.3
Same name and namespace in other branches
- 8.9 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
- 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPluginInterface.php \Drupal\social_user_export\Plugin\UserExportPluginInterface::profileGetAddressFieldValue()
Returns the value for the address field and element within address.
Parameters
string $field_name: The field name to get the value for.
string $address_element: The address element to get the value for, e.g. 'country_code'.
\Drupal\profile\Entity\ProfileInterface $user_profile: The profile to get the data for.
Return value
string Returns the value of the address element for the profile.
1 method overrides UserExportPluginInterface::profileGetAddressFieldValue()
- UserExportPluginBase::profileGetAddressFieldValue in modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPluginBase.php - Returns the value for the address field and element within address.
File
- modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPluginInterface.php, line 70
Class
- UserExportPluginInterface
- Defines an interface for User export plugin plugins.
Namespace
Drupal\social_user_export\PluginCode
public function profileGetAddressFieldValue($field_name, $address_element, ProfileInterface $user_profile = NULL);