Commit | Line | Data |
---|---|---|
6bc5e930 TO |
1 | <?php |
2 | ||
5e4accea CW |
3 | require_once 'afform_admin.civix.php'; |
4 | use CRM_AfformAdmin_ExtensionUtil as E; | |
6bc5e930 TO |
5 | |
6 | /** | |
7 | * Implements hook_civicrm_config(). | |
8 | * | |
9 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config | |
10 | */ | |
5e4accea CW |
11 | function afform_admin_civicrm_config(&$config) { |
12 | _afform_admin_civix_civicrm_config($config); | |
6bc5e930 TO |
13 | } |
14 | ||
15 | /** | |
16 | * Implements hook_civicrm_xmlMenu(). | |
17 | * | |
18 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu | |
19 | */ | |
5e4accea CW |
20 | function afform_admin_civicrm_xmlMenu(&$files) { |
21 | _afform_admin_civix_civicrm_xmlMenu($files); | |
6bc5e930 TO |
22 | } |
23 | ||
24 | /** | |
25 | * Implements hook_civicrm_install(). | |
26 | * | |
27 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install | |
28 | */ | |
5e4accea CW |
29 | function afform_admin_civicrm_install() { |
30 | _afform_admin_civix_civicrm_install(); | |
6bc5e930 TO |
31 | } |
32 | ||
33 | /** | |
34 | * Implements hook_civicrm_postInstall(). | |
35 | * | |
36 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall | |
37 | */ | |
5e4accea CW |
38 | function afform_admin_civicrm_postInstall() { |
39 | _afform_admin_civix_civicrm_postInstall(); | |
6bc5e930 TO |
40 | } |
41 | ||
42 | /** | |
43 | * Implements hook_civicrm_uninstall(). | |
44 | * | |
45 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall | |
46 | */ | |
5e4accea CW |
47 | function afform_admin_civicrm_uninstall() { |
48 | _afform_admin_civix_civicrm_uninstall(); | |
6bc5e930 TO |
49 | } |
50 | ||
51 | /** | |
52 | * Implements hook_civicrm_enable(). | |
53 | * | |
54 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable | |
55 | */ | |
5e4accea CW |
56 | function afform_admin_civicrm_enable() { |
57 | _afform_admin_civix_civicrm_enable(); | |
6bc5e930 TO |
58 | } |
59 | ||
60 | /** | |
61 | * Implements hook_civicrm_disable(). | |
62 | * | |
63 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable | |
64 | */ | |
5e4accea CW |
65 | function afform_admin_civicrm_disable() { |
66 | _afform_admin_civix_civicrm_disable(); | |
6bc5e930 TO |
67 | } |
68 | ||
69 | /** | |
70 | * Implements hook_civicrm_upgrade(). | |
71 | * | |
72 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade | |
73 | */ | |
5e4accea CW |
74 | function afform_admin_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) { |
75 | return _afform_admin_civix_civicrm_upgrade($op, $queue); | |
6bc5e930 TO |
76 | } |
77 | ||
78 | /** | |
79 | * Implements hook_civicrm_managed(). | |
80 | * | |
81 | * Generate a list of entities to create/deactivate/delete when this module | |
82 | * is installed, disabled, uninstalled. | |
83 | * | |
84 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed | |
85 | */ | |
5e4accea CW |
86 | function afform_admin_civicrm_managed(&$entities) { |
87 | _afform_admin_civix_civicrm_managed($entities); | |
6bc5e930 TO |
88 | } |
89 | ||
90 | /** | |
91 | * Implements hook_civicrm_caseTypes(). | |
92 | * | |
93 | * Generate a list of case-types. | |
94 | * | |
95 | * Note: This hook only runs in CiviCRM 4.4+. | |
96 | * | |
97 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes | |
98 | */ | |
5e4accea CW |
99 | function afform_admin_civicrm_caseTypes(&$caseTypes) { |
100 | _afform_admin_civix_civicrm_caseTypes($caseTypes); | |
6bc5e930 TO |
101 | } |
102 | ||
103 | /** | |
104 | * Implements hook_civicrm_angularModules(). | |
105 | * | |
106 | * Generate a list of Angular modules. | |
107 | * | |
108 | * Note: This hook only runs in CiviCRM 4.5+. It may | |
109 | * use features only available in v4.6+. | |
110 | * | |
111 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules | |
112 | */ | |
5e4accea CW |
113 | function afform_admin_civicrm_angularModules(&$angularModules) { |
114 | _afform_admin_civix_civicrm_angularModules($angularModules); | |
6bc5e930 TO |
115 | } |
116 | ||
117 | /** | |
118 | * Implements hook_civicrm_alterSettingsFolders(). | |
119 | * | |
120 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders | |
121 | */ | |
5e4accea CW |
122 | function afform_admin_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) { |
123 | _afform_admin_civix_civicrm_alterSettingsFolders($metaDataFolders); | |
6bc5e930 TO |
124 | } |
125 | ||
126 | /** | |
127 | * Implements hook_civicrm_entityTypes(). | |
128 | * | |
129 | * Declare entity types provided by this module. | |
130 | * | |
131 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes | |
132 | */ | |
5e4accea CW |
133 | function afform_admin_civicrm_entityTypes(&$entityTypes) { |
134 | _afform_admin_civix_civicrm_entityTypes($entityTypes); | |
6bc5e930 TO |
135 | } |
136 | ||
7620445e TO |
137 | /** |
138 | * Implements hook_civicrm_themes(). | |
139 | */ | |
5e4accea CW |
140 | function afform_admin_civicrm_themes(&$themes) { |
141 | _afform_admin_civix_civicrm_themes($themes); | |
7620445e | 142 | } |