forked from fuzionnz/nz.co.fuzion.icaltimezone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icaltimezone.php
41 lines (36 loc) · 929 Bytes
/
icaltimezone.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
require_once 'icaltimezone.civix.php';
use CRM_Icaltimezone_ExtensionUtil as E;
/**
* Implements hook_civicrm_config().
*
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
*/
function icaltimezone_civicrm_config(&$config) {
_icaltimezone_civix_civicrm_config($config);
}
/**
* Implements hook_civicrm_install().
*
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
*/
function icaltimezone_civicrm_install() {
_icaltimezone_civix_civicrm_install();
}
/**
* Implements hook_civicrm_enable().
*
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
*/
function icaltimezone_civicrm_enable() {
_icaltimezone_civix_civicrm_enable();
}
/**
* Implements hook_civicrm_alterMenu().
*/
function icaltimezone_civicrm_alterMenu(&$items) {
$items['civicrm/event/ical']['page_callback'] = [
'CRM_Icaltimezone_ICal',
'callback',
];
}