public function PartyMergeProcessMergeDataSet::run in Party 7
Overrides EntityMergeProcessBase::run()
File
- includes/
entity_merge/ processes/ party.merge_dataset.inc, line 27 - Contains merge process for merging a data set.
Class
- PartyMergeProcessMergeDataSet
- @file Contains merge process for merging a data set.
Code
public function run(&$context = array()) {
$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);
$class::runMerge($controller1, $controller2);
parent::run($context);
}