public function SocialProfileFieldsHelper::getUserExportPluginIdForField in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.3 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.4 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.5 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.6 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.7 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 8.8 modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 10.3.x modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 10.0.x modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
- 10.2.x modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsHelper.php \Drupal\social_profile_fields\SocialProfileFieldsHelper::getUserExportPluginIdForField()
Get the user export plugin ids for a given field.
Parameters
string $field_id: The field id, e.g. profile_profile_field_profile_address.
Return value
array An array of plugins.
File
- modules/
social_features/ social_profile/ modules/ social_profile_fields/ src/ SocialProfileFieldsHelper.php, line 90
Class
- SocialProfileFieldsHelper
- Defines the helper service.
Namespace
Drupal\social_profile_fieldsCode
public function getUserExportPluginIdForField($field_id) {
$mapping = $this
->mapProfileFieldsToUserExportPlugin();
return array_keys($mapping, $field_id);
}