Use metadata for dataPatterns
authoreileen <emcnaughton@wikimedia.org>
Thu, 5 Sep 2019 23:36:53 +0000 (11:36 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 6 Sep 2019 00:04:30 +0000 (12:04 +1200)
commit5d9b686f88fd2f3a2e9f531196277b807d26ac46
tree55294ef07cbf4e9b0f752c345c37487f554c099d
parenta4e0e9e1a5d5fbe0f21b28e21e3ac298da3500f6
Use metadata for dataPatterns

This is a bit harder to add a test for than columnHeaders but the principle of the change is very much the
same so I'm thinking it can get  a free ride on that test
CRM/Contact/Import/Form/MapField.php
CRM/Contact/Import/Parser.php
tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php