Merge pull request #20666 from civicrm/5.39
[civicrm-core.git] / xml / schema / Pledge / Pledge.xml
index 0fc7c6491d6cef3f5ee6746ecffb2e9a61870723..9cd15669993c728f14e550ec226c3ee3abc6a141 100644 (file)
@@ -3,6 +3,7 @@
   <base>CRM/Pledge</base>
   <class>Pledge</class>
   <name>civicrm_pledge</name>
+  <description>Promises to contribute at a future time, either in full, or at regular intervals until a total goal is reached.</description>
   <add>2.1</add>
   <log>true</log>
   <icon>fa-paper-plane</icon>
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>pledge_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
     <comment>The campaign for which this pledge has been initiated.</comment>
     <add>3.4</add>
     <html>
-      <type>Select</type>
+      <type>EntityRef</type>
       <label>Campaign</label>
     </html>
   </field>