Merge pull request #17130 from jitendrapurohit/mail-62
[civicrm-core.git] / xml / schema / Core / UFField.xml
index 55eb156e605c45957e22118054a1a0574e036976..fdcdcf83b3f348b5a1477518ff75ecfbf0a5326f 100644 (file)
@@ -49,6 +49,9 @@
     <length>64</length>
     <required>true</required>
     <comment>Name for CiviCRM field which is being exposed for sharing.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_BAO_UFField::getAvailableFieldTitles</callback>
+    </pseudoconstant>
     <add>1.1</add>
   </field>
   <field>
     <type>int unsigned</type>
     <comment>Phone Type Id, if required</comment>
     <add>2.2</add>
+    <pseudoconstant>
+      <optionGroupName>phone_type</optionGroupName>
+    </pseudoconstant>
   </field>
   <field>
     <name>website_type_id</name>
     <type>int unsigned</type>
     <comment>Website Type Id, if required</comment>
     <add>4.5</add>
+    <pseudoconstant>
+      <optionGroupName>website_type</optionGroupName>
+    </pseudoconstant>
   </field>
   <field>
     <name>label</name>