mixin/menu-xml - Remove unused boilerplate
[civicrm-core.git] / ext / afform / mock / afform_mock.php
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
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
69 /**
70 * Implements hook_civicrm_managed().
71 *
72 * Generate a list of entities to create/deactivate/delete when this module
73 * is installed, disabled, uninstalled.
74 *
75 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
76 */
77 function afform_mock_civicrm_managed(&$entities) {
78 _afform_mock_civix_civicrm_managed($entities);
79 }
80
81 /**
82 * Implements hook_civicrm_angularModules().
83 *
84 * Generate a list of Angular modules.
85 *
86 * Note: This hook only runs in CiviCRM 4.5+. It may
87 * use features only available in v4.6+.
88 *
89 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
90 */
91 function afform_mock_civicrm_angularModules(&$angularModules) {
92 _afform_mock_civix_civicrm_angularModules($angularModules);
93 }
94
95 /**
96 * Implements hook_civicrm_entityTypes().
97 *
98 * Declare entity types provided by this module.
99 *
100 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
101 */
102 function afform_mock_civicrm_entityTypes(&$entityTypes) {
103 _afform_mock_civix_civicrm_entityTypes($entityTypes);
104 }