-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.php
114 lines (112 loc) · 4.08 KB
/
manifest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative, then do not
* install or use this SugarCRM file.
*
* Copyright (C) SugarCRM Inc. All rights reserved.
*/
$manifest = array(
'key' => 'amity',
'name' => 'amitySync',
'description' => '',
'version' => '1.0',
'icon' => '',
'author' => 'Logeecom',
'readme' => include 'readme.php',
'built_in_version' => '7.9.2.0',
'acceptable_sugar_versions' => array(
'regex_matches' => array(
'7.7.*',
'7.8.*',
'7.9.*',
),
),
'acceptable_sugar_flavors' => array('CE', 'PRO', 'ENT', 'ULT'),
'is_uninstallable' => true,
'published_date' => '2017-11-01',
'type' => 'module',
'remove_tables' => 'prompt',
);
$installdefs = array(
'id' => 'dialogue1',
'beans' => array(
array(
'module' => 'dialogue1_amity',
'class' => 'dialogue1_amity',
'path' => 'modules/dialogue1_amity/dialogue1_amity.php',
'tab' => true,
),
),
'layoutdefs' => array(),
'relationships' => array(),
'copy' => array(
array(
'from' => '<basepath>/SugarModules/modules/dialogue1_amity',
'to' => 'modules/dialogue1_amity',
),
array(
'from' => '<basepath>/SugarModules/modules/override/recordlist/recordlist.js',
'to' => 'modules/ProspectLists/clients/base/views/recordlist/recordlist.js',
),
array(
'from' => '<basepath>/SugarModules/modules/override/recordlist/recordlist.php',
'to' => 'modules/ProspectLists/clients/base/views/recordlist/recordlist.php',
),
array(
'from' => '<basepath>/SugarModules/modules/override/customroutes/amityCustomRoutes.php',
'to' => 'custom/Extension/application/Ext/JSGroupings/amityCustomRoutes.php',
),
array(
'from' => '<basepath>/SugarModules/modules/override/javascript/amityCustomRoutes.js',
'to' => 'custom/javascript/amityCustomRoutes.js',
),
array(
'from' => '<basepath>/SugarModules/language/prospectLists/en_us.lang.php',
'to' => 'custom/Extension/modules/ProspectLists/Ext/Language/en_us.lang.php',
),
array(
'from' => '<basepath>/SugarModules/language/prospectLists/de_DE.lang.php',
'to' => 'custom/Extension/modules/ProspectLists/Ext/Language/de_DE.lang.php',
),
),
'language' => array(
array(
'from' => '<basepath>/SugarModules/language/application/en_us.lang.php',
'to_module' => 'application',
'language' => 'en_us',
),
),
'logic_hooks' => array(
array(
'module' => 'dialogue1_amity',
'hook' => 'before_save',
'order' => 1,
'description' => 'before_save_amity_credentials',
'file' => 'modules/dialogue1_amity/clients/base/api/AmityConnectionController.php',
'class' => 'AmityConnectionController',
'function' => 'connect',
),
array(
'module' => 'dialogue1_amity',
'hook' => 'after_save',
'order' => 1,
'description' => 'after_save_amity_credentials',
'file' => 'modules/dialogue1_amity/clients/base/api/AmityConnectionController.php',
'class' => 'AmityConnectionController',
'function' => 'repairAndRebuild',
),
array(
'module' => 'dialogue1_amity',
'hook' => 'before_delete',
'order' => 1,
'description' => 'after_delete_amity_credentials',
'file' => 'modules/dialogue1_amity/clients/base/api/AmityConnectionController.php',
'class' => 'AmityConnectionController',
'function' => 'repairAndRebuild',
),
),
);