Commit | Line | Data |
---|---|---|
dcd0adb5 TO |
1 | <?php |
2 | ||
3 | require_once 'afform_mock.civix.php'; | |
4 | use CRM_AfformMock_ExtensionUtil as E; | |
5 | ||
6 | /** | |
7 | * Implements hook_civicrm_config(). | |
8 | * | |
9 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config | |
10 | */ | |
11 | function afform_mock_civicrm_config(&$config) { | |
12 | _afform_mock_civix_civicrm_config($config); | |
13 | } | |
14 | ||
dcd0adb5 TO |
15 | /** |
16 | * Implements hook_civicrm_install(). | |
17 | * | |
18 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install | |
19 | */ | |
20 | function afform_mock_civicrm_install() { | |
21 | _afform_mock_civix_civicrm_install(); | |
22 | } | |
23 | ||
24 | /** | |
25 | * Implements hook_civicrm_postInstall(). | |
26 | * | |
27 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall | |
28 | */ | |
29 | function afform_mock_civicrm_postInstall() { | |
30 | _afform_mock_civix_civicrm_postInstall(); | |
31 | } | |
32 | ||
33 | /** | |
34 | * Implements hook_civicrm_uninstall(). | |
35 | * | |
36 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall | |
37 | */ | |
38 | function afform_mock_civicrm_uninstall() { | |
39 | _afform_mock_civix_civicrm_uninstall(); | |
40 | } | |
41 | ||
42 | /** | |
43 | * Implements hook_civicrm_enable(). | |
44 | * | |
45 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable | |
46 | */ | |
47 | function afform_mock_civicrm_enable() { | |
48 | _afform_mock_civix_civicrm_enable(); | |
49 | } | |
50 | ||
51 | /** | |
52 | * Implements hook_civicrm_disable(). | |
53 | * | |
54 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable | |
55 | */ | |
56 | function afform_mock_civicrm_disable() { | |
57 | _afform_mock_civix_civicrm_disable(); | |
58 | } | |
59 | ||
60 | /** | |
61 | * Implements hook_civicrm_upgrade(). | |
62 | * | |
63 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade | |
64 | */ | |
65 | function afform_mock_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) { | |
66 | return _afform_mock_civix_civicrm_upgrade($op, $queue); | |
67 | } | |
68 | ||
dcd0adb5 TO |
69 | /** |
70 | * Implements hook_civicrm_entityTypes(). | |
71 | * | |
72 | * Declare entity types provided by this module. | |
73 | * | |
74 | * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes | |
75 | */ | |
76 | function afform_mock_civicrm_entityTypes(&$entityTypes) { | |
77 | _afform_mock_civix_civicrm_entityTypes($entityTypes); | |
78 | } |