You are here

public function UserMergerInterface::applyAction in User Merge 2.x

Applies the action to take on the user account being retired.

Parameters

string $plugin_id: The action plugin id to use.

\Drupal\user\UserInterface $retire_user: The user being retired after the merge is complete.

\Drupal\user\UserInterface $retain_user: The user being retained after the merge is complete.

1 method overrides UserMergerInterface::applyAction()
UserMerger::applyAction in src/UserMerger.php
Applies the action to take on the user account being retired.

File

src/UserMergerInterface.php, line 37

Class

UserMergerInterface
A service for merging two user accounts together.

Namespace

Drupal\usermerge

Code

public function applyAction($plugin_id, UserInterface $retire_user, UserInterface $retain_user);