Merge pull request #20560 from colemanw/searchable
[civicrm-core.git] / Civi / Api4 / EntityFinancialAccount.php
CommitLineData
37c608f6 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
19namespace 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 *
37c608f6 26 * @ui_join_filters account_relationship
27 *
c5076889 28 * @searchable bridge
37c608f6 29 * @package Civi\Api4
30 */
31class EntityFinancialAccount extends Generic\DAOEntity {
32 use Generic\Traits\EntityBridge;
33
27d31a0f
CW
34 /**
35 * @return array
36 */
37 public static function getInfo() {
38 $info = parent::getInfo();
39 $info['bridge'] = [
40 'entity_id' => [],
41 'financial_account_id' => [],
42 ];
43 return $info;
44 }
45
37c608f6 46}