Add "labelField" metadata to entities
[civicrm-core.git] / CRM / Contact / DAO / Contact.php
index b1661fd458e2848aa4a52816bf99644dd181e5b2..bf067a163fbadfeab29fdb5e673549b752b36764 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c8000203c94da02a4b215ad1a8f7ed89)
+ * (GenCodeChecksum:e34bde9c7a6fcbfdc33cd9cbc305f1fb)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-address-book-o';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'display_name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *