CRM-14955 - add custom tokens to greetings
[civicrm-core.git] / xml / schema / Core / WordReplacement.xml
index 296814fd80e3f7a021677df534b5740bf255ea76..9c64a1afe6eee2bd7099120f7234df524fa5a53d 100644 (file)
@@ -37,6 +37,7 @@
     <name>is_active</name>
     <title>Word Replacement is Active</title>
     <type>boolean</type>
+    <default>1</default>
     <comment>Is this entry active?</comment>
     <add>4.4</add>
   </field>
   </index>
   <field>
        <name>match_type</name>
-       <type>enum</type>
-       <values>wildcardMatch, exactMatch</values>
+       <type>varchar</type>
+       <length>16</length>
        <default>"wildcardMatch"</default>
+       <pseudoconstant>
+         <callback>CRM_Core_SelectValues::getWordReplacementMatchType</callback>
+       </pseudoconstant>
        <add>4.4</add>
+       <html>
+         <type>Select</type>
+       </html>
   </field>
   <field>
     <name>domain_id</name>