Merge pull request #17345 from eileenmcnaughton/ev_batch
[civicrm-core.git] / CRM / Core / DAO / Email.php
index f7bfe44daf7f88aaad07cb75cf887aa43d8a3b3a..083c4064dbbbb3ec123972b261bdd14e105362b6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7f8d7665fad5c2691c46de7cff8d9149)
+ * (GenCodeChecksum:ae76175a9d3e57bc555ce90cac672e73)
  */
 
 /**
@@ -57,7 +57,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
   public $email;
 
   /**
-   * Is this the primary?
+   * Is this the primary email address
    *
    * @var bool
    */
@@ -210,14 +210,17 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
         'is_primary' => [
           'name' => 'is_primary',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Is Primary email'),
-          'description' => ts('Is this the primary?'),
+          'title' => ts('Primary email'),
+          'description' => ts('Is this the primary email address'),
           'where' => 'civicrm_email.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_email',
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Radio',
+          ],
         ],
         'is_billing' => [
           'name' => 'is_billing',