Refactor CRM_Contact_BAO_Contact::importableFields() to use metadata
authorColeman Watts <coleman@civicrm.org>
Tue, 7 Jan 2020 18:25:05 +0000 (13:25 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 7 Jan 2020 18:25:35 +0000 (13:25 -0500)
commitb383d04305b981d187a5dd84a30534877008bd72
tree64a6f8618731dc1a76825b6a93a18ba079a56fc6
parent0cd610f2502aadbf6191d4349a081ec003988f02
Refactor CRM_Contact_BAO_Contact::importableFields() to use metadata

This squares up the recently added metadata with a hardcoded list in the BAO,
removing the hardcoded list in favor of metadata.
CRM/Contact/BAO/Contact.php
CRM/Contact/DAO/Contact.php
xml/schema/Contact/Contact.xml