You are here

function hook_social_user_export_plugin_info_alter in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  2. 8.3 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  3. 8.4 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  4. 8.5 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  5. 8.6 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  6. 8.7 modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  7. 10.3.x modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  8. 10.0.x modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  9. 10.1.x modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()
  10. 10.2.x modules/social_features/social_user_export/social_user_export.api.php \hook_social_user_export_plugin_info_alter()

Modify the list of available User export plugins.

This hook may be used to modify plugin properties after they have been specified by other modules.

Parameters

array $plugins: An array of all the existing plugin definitions, passed by reference.

See also

\Drupal\social_user_export\UserExportPluginManager

2 functions implement hook_social_user_export_plugin_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

social_event_an_enroll_enrolments_export_social_user_export_plugin_info_alter in modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/social_event_an_enroll_enrolments_export.module
Implements hook_social_user_export_plugin_info_alter().
social_profile_fields_social_user_export_plugin_info_alter in modules/social_features/social_profile/modules/social_profile_fields/social_profile_fields.module
Remove user export plugins for fields which are disabled.
1 invocation of hook_social_user_export_plugin_info_alter()
UserExportPluginManager::__construct in modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php
Constructs a new UserExportPluginManager object.

File

modules/social_features/social_user_export/social_user_export.api.php, line 19
Documentation for Social User Export module APIs.

Code

function hook_social_user_export_plugin_info_alter(array &$plugins) {
  if ($plugins['account_name']) {
    unset($plugins['account_name']);
  }
}