$migration_dependencies['required'
] =
array_unique($migration_dependencies['required'
]);
$migration->
set('migration_dependencies',
$migration_dependencies);
} /**
* {@inheritdoc}
*/
public function defineValueProcessPipeline(MigrationInterface
$migration,
$field_name,
$data) { $process =
[ 'plugin' => 'sub_process',
'source' =>
$field_name,
'process' =>
['target_id' =>
$this->
entityId()],
];
$migration->
setProcessOfProperty($field_name,
$process);
} /**
* {@inheritdoc}
*/
public function getFieldWidgetMap() { return [ $this->pluginId . '_select' => 'options_select',
$this->pluginId . '_buttons' => 'options_buttons',