Merge pull request #20431 from colemanw/garlandTabFix
[civicrm-core.git] / Civi / Api4 / EntityFinancialAccount.php
1 <?php
2
3 /*
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
6 | |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
11 */
12
13 /**
14 *
15 * @package CRM
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 */
18
19 namespace Civi\Api4;
20
21 /**
22 * EntityFinancialAccount. Joins financial accounts to financial types.
23 *
24 * @see https://docs.civicrm.org/dev/en/latest/financial/financialentities/#financial-accounts
25 *
26 * @ui_join_filters account_relationship
27 *
28 * @package Civi\Api4
29 */
30 class EntityFinancialAccount extends Generic\DAOEntity {
31 use Generic\Traits\EntityBridge;
32
33 /**
34 * @return array
35 */
36 public static function getInfo() {
37 $info = parent::getInfo();
38 $info['bridge'] = [
39 'entity_id' => [],
40 'financial_account_id' => [],
41 ];
42 return $info;
43 }
44
45 }