*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f77d3ef5985c8945730c2fe22bb3fa45)
+ * (GenCodeChecksum:dd0dd5e4008e0325f5b52127610c1fc4)
*/
/**
*/
public static $_icon = 'fa-phone';
+ /**
+ * Field to show when displaying a record.
+ *
+ * @var string
+ */
+ public static $_labelField = 'phone';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
'entity' => 'Phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Number',
+ ],
'add' => '1.1',
],
'contact_id' => [
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Phone Contact'),
+ 'title' => ts('Contact ID'),
'description' => ts('FK to Contact ID'),
'where' => 'civicrm_phone.contact_id',
'table_name' => 'civicrm_phone',
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'html' => [
+ 'label' => ts("Contact"),
+ ],
'add' => '2.0',
],
'location_type_id' => [