*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:56a06273eec47f43f5671cb6152b7747)
+ * (GenCodeChecksum:73bd55d66da916d2b27113d0cd8ca6f7)
*/
/**
*/
public static $_log = TRUE;
+ /**
+ * Paths for accessing this entity in the UI.
+ *
+ * @var string[]
+ */
+ protected static $_paths = [
+ 'add' => 'civicrm/admin/financial/financialType/accounts?action=add&reset=1&aid=[entity_id]',
+ 'update' => 'civicrm/admin/financial/financialType/accounts?action=update&id=[id]&aid=[entity_id]&reset=1',
+ 'delete' => 'civicrm/admin/financial/financialType/accounts?action=delete&id=[id]&aid=[entity_id]&reset=1',
+ ];
+
/**
* ID
*
FALSE,
],
],
- 'addButton' => [
- 'path' => 'civicrm/acl/entityrole/edit?reset=1&action=add',
- 'text' => E::ts('Add ACL Role Assignment'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'ACLEntityRole',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add ACL Role Assignment'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
FALSE,
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/financial/financialType/accounts?action=add&reset=1&aid=[entity_id]',
- 'text' => E::ts('Add Assigned Account'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'EntityFinancialAccount',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Assigned Account'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/options/subtype/edit?action=add&reset=1',
- 'text' => E::ts('Add Contact Type'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'ContactType',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Contact Type'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
FALSE,
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/custom/group/field/add?reset=1&action=add&gid=[custom_group_id]',
- 'text' => E::ts('Add Custom Field'),
- 'icon' => 'fa-plus',
- 'autoOpen' => TRUE,
+ 'toolbar' => [
+ [
+ 'entity' => 'CustomField',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Custom Field'),
+ 'icon' => 'fa-plus',
+ 'autoOpen' => TRUE,
+ ],
],
'placeholder' => 5,
],
],
],
'placeholder' => 5,
- 'addButton' => [
- 'path' => 'civicrm/admin/custom/group/edit?reset=1',
- 'text' => E::ts('Add Set of Custom Fields'),
- 'icon' => 'fa-plus',
- 'autoOpen' => TRUE,
+ 'toolbar' => [
+ [
+ 'entity' => 'CustomGroup',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Set of Custom Fields'),
+ 'icon' => 'fa-plus',
+ 'autoOpen' => TRUE,
+ ],
],
],
'acl_bypass' => FALSE,
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/financial/financialAccount/edit?action=add&reset=1',
- 'text' => E::ts('Add Financial Account'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'FinancialAccount',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Financial Account'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/financial/financialType/edit?reset=1&action=add',
- 'text' => E::ts('Add Financial Type'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'FinancialType',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Financial Type'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/locationType/edit?action=add&reset=1',
- 'text' => E::ts('Add Location Type'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'LocationType',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Location Type'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'table',
'table-striped',
],
- 'addButton' => [
- 'path' => 'civicrm/group/add?reset=1',
- 'text' => E::ts('Add Group'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'Group',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Group'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/paymentProcessor/edit?action=add&reset=1',
- 'text' => E::ts('Add Payment Processor'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'PaymentProcessor',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Payment Processor'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
],
'draggable' => 'weight',
'button' => NULL,
- 'addButton' => [
- 'path' => 'civicrm/admin/uf/group/field/add?reset=1&action=add&gid=[uf_group_id]',
- 'text' => E::ts('Add Field'),
- 'icon' => 'fa-plus',
- 'autoOpen' => TRUE,
+ 'toolbar' => [
+ [
+ 'entity' => 'UFField',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Field'),
+ 'icon' => 'fa-plus',
+ 'autoOpen' => TRUE,
+ ],
],
'cssRules' => [
[
'label' => '',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/uf/group/add?action=add&reset=1',
- 'text' => E::ts('Add Profile'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'UFGroup',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Profile'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'alignment' => 'text-right',
],
],
- 'addButton' => [
- 'path' => 'civicrm/admin/reltype/edit?action=add&reset=1',
- 'text' => E::ts('Add Relationship Type'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'RelationshipType',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Relationship Type'),
+ 'icon' => 'fa-plus',
+ ],
],
'cssRules' => [
[
'table-striped',
'crm-sticky-header',
],
- 'addButton' => [
- 'path' => 'civicrm/admin/scheduleReminders/edit?reset=1&action=add',
- 'text' => E::ts('Add Scheduled Reminder'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'ActionSchedule',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Scheduled Reminder'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
'table-striped',
'crm-sticky-header',
],
- 'addButton' => [
- 'path' => 'civicrm/acl/edit?reset=1&action=add',
- 'text' => E::ts('Add ACL'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'ACL',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add ACL'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
'table',
'table-striped',
],
- 'addButton' => [
- 'path' => 'civicrm/admin/mailSettings/edit?action=add&reset=1',
- 'text' => E::ts('Add Mail Account'),
- 'icon' => 'fa-plus',
+ 'toolbar' => [
+ [
+ 'entity' => 'MailSettings',
+ 'action' => 'add',
+ 'target' => 'crm-popup',
+ 'style' => 'primary',
+ 'text' => E::ts('Add Mail Account'),
+ 'icon' => 'fa-plus',
+ ],
],
],
'acl_bypass' => FALSE,
<comment>Map between an entity and a financial account, where there is a specific relationship between the financial account and the entity, e.g. Income Account for or AR Account for</comment>
<log>true</log>
<component>CiviContribute</component>
+ <paths>
+ <add>civicrm/admin/financial/financialType/accounts?action=add&reset=1&aid=[entity_id]</add>
+ <update>civicrm/admin/financial/financialType/accounts?action=update&id=[id]&aid=[entity_id]&reset=1</update>
+ <delete>civicrm/admin/financial/financialType/accounts?action=delete&id=[id]&aid=[entity_id]&reset=1</delete>
+ </paths>
<field>
<name>id</name>
<title>Entity Financial Account ID</title>