class CRM_Dedupe_DAO_TestEntity extends CRM_Core_DAO {
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic('civicrm_dedupe_test_table', 'contact_id', 'civicrm_contact', 'id');
- }
- return Civi::$statics[__CLASS__]['links'];
- }
+ public static $_tableName = 'civicrm_dedupe_test_table';
/**
* Returns all the column names of this table
'table_name' => 'civicrm_dedupe_test_table',
'entity' => 'TestEntity',
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
],
'dedupe_test_field' => [
'name' => 'dedupe_test_field',