mixin/menu-xml - Remove unused boilerplate
[civicrm-core.git] / ext / ewaysingle / ewaysingle.php
1 <?php
2
3 require_once 'ewaysingle.civix.php';
4 // phpcs:disable
5 use CRM_Ewaysingle_ExtensionUtil as E;
6 // phpcs:enable
7
8 /**
9 * Implements hook_civicrm_config().
10 *
11 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
12 */
13 function ewaysingle_civicrm_config(&$config) {
14 _ewaysingle_civix_civicrm_config($config);
15 }
16
17 /**
18 * Implements hook_civicrm_install().
19 *
20 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
21 */
22 function ewaysingle_civicrm_install() {
23 _ewaysingle_civix_civicrm_install();
24 }
25
26 /**
27 * Implements hook_civicrm_postInstall().
28 *
29 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
30 */
31 function ewaysingle_civicrm_postInstall() {
32 _ewaysingle_civix_civicrm_postInstall();
33 }
34
35 /**
36 * Implements hook_civicrm_uninstall().
37 *
38 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
39 */
40 function ewaysingle_civicrm_uninstall() {
41 _ewaysingle_civix_civicrm_uninstall();
42 }
43
44 /**
45 * Implements hook_civicrm_enable().
46 *
47 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
48 */
49 function ewaysingle_civicrm_enable() {
50 _ewaysingle_civix_civicrm_enable();
51 }
52
53 /**
54 * Implements hook_civicrm_disable().
55 *
56 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
57 */
58 function ewaysingle_civicrm_disable() {
59 _ewaysingle_civix_civicrm_disable();
60 }
61
62 /**
63 * Implements hook_civicrm_upgrade().
64 *
65 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
66 */
67 function ewaysingle_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
68 return _ewaysingle_civix_civicrm_upgrade($op, $queue);
69 }
70
71 /**
72 * Implements hook_civicrm_managed().
73 *
74 * Generate a list of entities to create/deactivate/delete when this module
75 * is installed, disabled, uninstalled.
76 *
77 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed
78 */
79 function ewaysingle_civicrm_managed(&$entities) {
80 _ewaysingle_civix_civicrm_managed($entities);
81 }
82
83 /**
84 * Implements hook_civicrm_entityTypes().
85 *
86 * Declare entity types provided by this module.
87 *
88 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
89 */
90 function ewaysingle_civicrm_entityTypes(&$entityTypes) {
91 _ewaysingle_civix_civicrm_entityTypes($entityTypes);
92 }
93
94 // --- Functions below this ship commented out. Uncomment as required. ---
95
96 /**
97 * Implements hook_civicrm_preProcess().
98 *
99 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
100 */
101 //function ewaysingle_civicrm_preProcess($formName, &$form) {
102 //
103 //}
104
105 /**
106 * Implements hook_civicrm_navigationMenu().
107 *
108 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
109 */
110 //function ewaysingle_civicrm_navigationMenu(&$menu) {
111 // _ewaysingle_civix_insert_navigation_menu($menu, 'Mailings', array(
112 // 'label' => E::ts('New subliminal message'),
113 // 'name' => 'mailing_subliminal_message',
114 // 'url' => 'civicrm/mailing/subliminal',
115 // 'permission' => 'access CiviMail',
116 // 'operator' => 'OR',
117 // 'separator' => 0,
118 // ));
119 // _ewaysingle_civix_navigationMenu($menu);
120 //}