public function PartyMergeProcessMergeDataSet::registerSubProcesses in Party 7
Overrides EntityMergeProcessBase::registerSubProcesses()
File
- includes/
entity_merge/ processes/ party.merge_dataset.inc, line 12 - Contains merge process for merging a data set.
Class
- PartyMergeProcessMergeDataSet
- @file Contains merge process for merging a data set.
Code
public function registerSubProcesses() {
$data_set_name = $this->conf['data_set_name'];
$info = party_get_data_set_info($data_set_name);
$class = $info['class'];
$controller1 = $this->entity1
->getDataSetController($data_set_name);
$controller2 = $this->entity2
->getDataSetController($data_set_name);
$processes = $class::registerMergeProcesses($controller1, $controller2);
return $processes;
}