You are here

social_user_export.api.php in Open Social 8.8

Documentation for Social User Export module APIs.

File

modules/social_features/social_user_export/social_user_export.api.php
View source
<?php

/**
 * @file
 * Documentation for Social User Export module APIs.
 */

/**
 * 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.
 *
 * @param array $plugins
 *   An array of all the existing plugin definitions, passed by reference.
 *
 * @see \Drupal\social_user_export\UserExportPluginManager
 */
function hook_social_user_export_plugin_info_alter(array &$plugins) {
  if ($plugins['account_name']) {
    unset($plugins['account_name']);
  }
}

Functions

Namesort descending Description
hook_social_user_export_plugin_info_alter Modify the list of available User export plugins.