Add "labelField" metadata to entities
[civicrm-core.git] / CRM / Core / DAO.php
index 4fb383276f0d7430a9da388f6edf4d5be3e43b9b..81b02ceefbcf01bda30aa5d4c47428a4c8145805 100644 (file)
@@ -52,6 +52,13 @@ class CRM_Core_DAO extends DB_DataObject {
    */
   public static $_icon = NULL;
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = NULL;
+
   /**
    * @var array
    * @deprecated