projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #16714 from christianwach/lab-1638
[civicrm-core.git]
/
xml
/
schema
/
Core
/
UFField.xml
diff --git
a/xml/schema/Core/UFField.xml
b/xml/schema/Core/UFField.xml
index 55eb156e605c45957e22118054a1a0574e036976..fdcdcf83b3f348b5a1477518ff75ecfbf0a5326f 100644
(file)
--- a/
xml/schema/Core/UFField.xml
+++ b/
xml/schema/Core/UFField.xml
@@
-49,6
+49,9
@@
<length>64</length>
<required>true</required>
<comment>Name for CiviCRM field which is being exposed for sharing.</comment>
<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>
<add>1.1</add>
</field>
<field>
@@
-183,6
+186,9
@@
<type>int unsigned</type>
<comment>Phone Type Id, if required</comment>
<add>2.2</add>
<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>
</field>
<field>
<name>website_type_id</name>
@@
-190,6
+196,9
@@
<type>int unsigned</type>
<comment>Website Type Id, if required</comment>
<add>4.5</add>
<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>
</field>
<field>
<name>label</name>