You are here

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

Applies a property plugin to a set of accounts being merged.

Parameters

string $plugin_id: The property 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.

array $settings: The property plugin settings.

1 method overrides UserMergerInterface::applyProperty()
UserMerger::applyProperty in src/UserMerger.php
Applies a property plugin to a set of accounts being merged.

File

src/UserMergerInterface.php, line 51

Class

UserMergerInterface
A service for merging two user accounts together.

Namespace

Drupal\usermerge

Code

public function applyProperty($plugin_id, UserInterface $retire_user, UserInterface $retain_user, array $settings = []);