3 require_once 'ewaysingle.civix.php';
5 use CRM_Ewaysingle_ExtensionUtil
as E
;
9 * Implements hook_civicrm_config().
11 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
13 function ewaysingle_civicrm_config(&$config) {
14 _ewaysingle_civix_civicrm_config($config);
18 * Implements hook_civicrm_install().
20 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
22 function ewaysingle_civicrm_install() {
23 _ewaysingle_civix_civicrm_install();
27 * Implements hook_civicrm_postInstall().
29 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
31 function ewaysingle_civicrm_postInstall() {
32 _ewaysingle_civix_civicrm_postInstall();
36 * Implements hook_civicrm_uninstall().
38 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
40 function ewaysingle_civicrm_uninstall() {
41 _ewaysingle_civix_civicrm_uninstall();
45 * Implements hook_civicrm_enable().
47 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
49 function ewaysingle_civicrm_enable() {
50 _ewaysingle_civix_civicrm_enable();
54 * Implements hook_civicrm_disable().
56 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
58 function ewaysingle_civicrm_disable() {
59 _ewaysingle_civix_civicrm_disable();
63 * Implements hook_civicrm_upgrade().
65 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
67 function ewaysingle_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
68 return _ewaysingle_civix_civicrm_upgrade($op, $queue);
72 * Implements hook_civicrm_entityTypes().
74 * Declare entity types provided by this module.
76 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
78 function ewaysingle_civicrm_entityTypes(&$entityTypes) {
79 _ewaysingle_civix_civicrm_entityTypes($entityTypes);
82 // --- Functions below this ship commented out. Uncomment as required. ---
85 * Implements hook_civicrm_preProcess().
87 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
89 //function ewaysingle_civicrm_preProcess($formName, &$form) {
94 * Implements hook_civicrm_navigationMenu().
96 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
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',
107 // _ewaysingle_civix_navigationMenu($menu);