Merge pull request #22667 from braders/avoid-notices-uf-settings-page
[civicrm-core.git] / Civi / Api4 / EntityFinancialAccount.php
index b5495e3d6e69c1520e32d24303b50f3ec1d6957b..4be18592aa79d8108ff5af35e1d634841048b43b 100644 (file)
@@ -30,8 +30,8 @@ class EntityFinancialAccount extends Generic\DAOEntity {
   public static function getInfo() {
     $info = parent::getInfo();
     $info['bridge'] = [
-      'entity_id' => [],
-      'financial_account_id' => [],
+      'entity_id' => ['to' => 'financial_account_id'],
+      'financial_account_id' => ['to' => 'entity_id'],
     ];
     return $info;
   }