Extract metadata definition into a trait.
authoreileen <emcnaughton@wikimedia.org>
Sun, 11 Aug 2019 22:53:17 +0000 (10:53 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 16 Aug 2019 01:35:48 +0000 (13:35 +1200)
commit91b4c63e670b2cbd00d822da6a91156588e163ef
tree10e95427afaaaee116b4fff92fb07f470f976b9b
parentca231c6fe26cdacbd80d31ab9b237ffc518384c4
Extract metadata definition into a trait.

This metadata needs to be shared between multiple import forms. They do not have a common parent.

Curently this is done via calculating once & passing via quickform. However, the formats
are convoluted & hard to read.

Information that is user generated should be calculated per form - not so much metadata
CRM/Contact/Import/MetadataTrait.php [new file with mode: 0644]
CRM/Contact/Import/Parser/Contact.php