[Import][Ref] Calculate relationship type in parser
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 9 May 2022 12:16:23 +0000 (00:16 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 10 May 2022 00:19:16 +0000 (12:19 +1200)
commit40a48df041b5490a3c17680d7d0d785bdbc189be
tree2290eeb38c044674b0e48aa017a469ae20d52bbb
parent3fbdad5ec9c71c0ecc5998854c412a08372bfdff
[Import][Ref] Calculate relationship type in parser

This is being calculated
here
https://github.com/civicrm/civicrm-core/blob/c169525f72b1f956d58cec1e4a15b0f57de3eabf/CRM/Contact/Import/ImportJob.php#L132-L136

And this change moves the calculation into the
parser class so that, along with the other arrays
it can be removed as an input parameter
CRM/Contact/Import/Parser/Contact.php