Merge pull request #22152 from eileenmcnaughton/n1
[civicrm-core.git] / CRM / Financial / BAO / EntityFinancialAccount.php
CommitLineData
37c608f6 1<?php
2/*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12/**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17class CRM_Financial_BAO_EntityFinancialAccount extends CRM_Financial_DAO_EntityFinancialAccount {
18
19 /**
20 * Whitelist of possible values for the entity_table field
21 *
22 * @return array
23 */
24 public static function entityTables(): array {
25 return [
26 'civicrm_financial_type' => ts('Financial Type'),
27 'civicrm_option_value' => ts('Payment Instrument'),
28 'civicrm_payment_processor' => ts('Payment Processor'),
29 ];
30 }
31
32}