public function UserMerger::__construct in User Merge 2.x
Creates a user merger object.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $property_manager: Property plugin manager.
\Drupal\Component\Plugin\PluginManagerInterface $action_manager: Action plugin manager.
File
- src/
UserMerger.php, line 35
Class
- UserMerger
- A service for merging two Drupal user accounts.
Namespace
Drupal\usermergeCode
public function __construct(PluginManagerInterface $property_manager, PluginManagerInterface $action_manager) {
$this->propertyPluginManager = $property_manager;
$this->actionPluginManager = $action_manager;
}