Fix Relationship Type form to use the api in postProcess in preparation to support...
authoreileen <emcnaughton@wikimedia.org>
Tue, 8 May 2018 06:46:22 +0000 (18:46 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 8 May 2018 06:53:50 +0000 (18:53 +1200)
commita9999eb61ad95fe6a27cf3011057e3a8785763ed
tree7b1bb3eff97c4f3172da16c5653fd4e8eddaf5df
parentc10f7a56b076ef53b3ce6019406ff7bfbd4980d9
Fix Relationship Type form to use the api in postProcess in preparation to support custom data.

Now that we have custom-data-on-any forms that use the api to save can potentially support custom data. This is a
preparatory tidy-up commit. It switches to the api & does minor tidy ups, including using metadata and addField to
add fields. This last part does slightly alter the wording on the form. I think that is OK?
CRM/Admin/Form/RelationshipType.php
CRM/Contact/DAO/RelationshipType.php
xml/schema/Contact/RelationshipType.xml