[REF] [Import] extract function that sets field metadata
authoreileen <emcnaughton@wikimedia.org>
Wed, 7 Aug 2019 05:39:35 +0000 (17:39 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 7 Aug 2019 05:39:49 +0000 (17:39 +1200)
commit64cafaa36b0f246ce5d5d8b331b0af383f72b9c7
treed7c0c2934de80c4a114be472b42968f2445f417f
parent0c2e48dc127a6bf89733efcc51bae0862d04b606
[REF] [Import] extract function that sets field metadata

My thinking is that we want to migrate over to a new class (similar to export processor) that does a lot a metadata functions
- perhaps it might be importMetadata. A big part of the reason it's all so crazy appears to be that the functions to
wrangle the metadata are on the first class in the sequence (DataSource) and because they are not shared & do not have a shared
parent they are passed around instead via the form set &  get methods. In fact the metadata & array wrangling functions just
need to be available - hmm sounding like a trait - ok next commit....
CRM/Contact/Import/Parser/Contact.php
CRM/Import/Parser.php