Merge pull request #23309 from civicrm/5.49
[civicrm-core.git] / ext / ewaysingle / ewaysingle.php
CommitLineData
ae1baeec
SL
1<?php
2
3require_once 'ewaysingle.civix.php';
4// phpcs:disable
5use 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 */
13function ewaysingle_civicrm_config(&$config) {
14 _ewaysingle_civix_civicrm_config($config);
15}
16
ae1baeec
SL
17/**
18 * Implements hook_civicrm_install().
19 *
20 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
21 */
22function 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 */
31function 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 */
40function 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 */
49function 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 */
58function 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 */
67function ewaysingle_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
68 return _ewaysingle_civix_civicrm_upgrade($op, $queue);
69}
70
ae1baeec
SL
71/**
72 * Implements hook_civicrm_entityTypes().
73 *
74 * Declare entity types provided by this module.
75 *
76 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
77 */
78function ewaysingle_civicrm_entityTypes(&$entityTypes) {
79 _ewaysingle_civix_civicrm_entityTypes($entityTypes);
80}
81
ae1baeec
SL
82// --- Functions below this ship commented out. Uncomment as required. ---
83
84/**
85 * Implements hook_civicrm_preProcess().
86 *
87 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
88 */
89//function ewaysingle_civicrm_preProcess($formName, &$form) {
90//
91//}
92
93/**
94 * Implements hook_civicrm_navigationMenu().
95 *
96 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
97 */
98//function ewaysingle_civicrm_navigationMenu(&$menu) {
99// _ewaysingle_civix_insert_navigation_menu($menu, 'Mailings', array(
100// 'label' => E::ts('New subliminal message'),
101// 'name' => 'mailing_subliminal_message',
102// 'url' => 'civicrm/mailing/subliminal',
103// 'permission' => 'access CiviMail',
104// 'operator' => 'OR',
105// 'separator' => 0,
106// ));
107// _ewaysingle_civix_navigationMenu($menu);
108//}