You are here

function hook_usermerge_actions_supported in User Merge 7.2

Add elements to the list of supported actions.

The returned array will be sorted by key, so the hook implementation can adjust the order by returning appropriate key names.

7 functions implement hook_usermerge_actions_supported()

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

entityreference_usermerge_actions_supported in includes/entityreference.usermerge.inc
Implement hook_usermerge_actions_supported().
multiple_email_usermerge_actions_supported in includes/multiple_email.usermerge.inc
Implements hook_usermerge_actions_supported() on behalf of multiple_email.
profile2_usermerge_actions_supported in includes/profile2.usermerge.inc
Implements hook_usermerge_actions_supported().
profile_usermerge_actions_supported in includes/profile.usermerge.inc
Implements hook_usermerge_actions_supported().
usermerge_usermerge_actions_supported in ./usermerge.usermerge.inc
Implement hook_usermerge_actions_supported().

... See full list

File

./usermerge.api.php, line 18
Hooks provided by the User Merge module.

Code

function hook_usermerge_actions_supported() {
  return array(
    'a-core' => t('Choosing which user information (default properties and custom fields, if available) should be kept, discarded, or merged (this choice is not available for all properties).'),
    'a-entities' => t('Assigning to the new user any entities (such as nodes and comments) previously associated with the old user.'),
  );
}