3 require_once 'angularex.civix.php';
6 * Implementation of hook_civicrm_config
8 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
11 function angularex_civicrm_config(&$config) {
12 _angularex_civix_civicrm_config($config);
16 * Implementation of hook_civicrm_xmlMenu
18 * @param $files array(string)
20 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
22 function angularex_civicrm_xmlMenu(&$files) {
23 _angularex_civix_civicrm_xmlMenu($files);
27 * Implementation of hook_civicrm_install
29 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
31 function angularex_civicrm_install() {
32 return _angularex_civix_civicrm_install();
36 * Implementation of hook_civicrm_uninstall
38 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
40 function angularex_civicrm_uninstall() {
41 return _angularex_civix_civicrm_uninstall();
45 * Implementation of hook_civicrm_enable
47 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
49 function angularex_civicrm_enable() {
50 return _angularex_civix_civicrm_enable();
54 * Implementation of hook_civicrm_disable
56 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
58 function angularex_civicrm_disable() {
59 return _angularex_civix_civicrm_disable();
63 * Implementation of hook_civicrm_upgrade
65 * @param $op string, the type of operation being performed; 'check' or 'enqueue'
66 * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
68 * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending)
69 * for 'enqueue', returns void
71 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
73 function angularex_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
74 return _angularex_civix_civicrm_upgrade($op, $queue);
78 * Implementation of hook_civicrm_managed
80 * Generate a list of entities to create/deactivate/delete when this module
81 * is installed, disabled, uninstalled.
83 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
86 function angularex_civicrm_managed(&$entities) {
87 return _angularex_civix_civicrm_managed($entities);
91 * Implementation of hook_civicrm_caseTypes
93 * Generate a list of case-types
95 * Note: This hook only runs in CiviCRM 4.4+.
97 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
100 function angularex_civicrm_caseTypes(&$caseTypes) {
101 _angularex_civix_civicrm_caseTypes($caseTypes);
105 * Implementation of hook_civicrm_alterSettingsFolders
107 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
108 * @param null $metaDataFolders
110 function angularex_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
111 _angularex_civix_civicrm_alterSettingsFolders($metaDataFolders);
115 * @param $angularModule
117 function angularex_civicrm_angularModules(&$angularModule) {
118 $angularModule['example'] = [
119 'ext' => 'org.civicrm.angularex',
121 'partials' => ['partials'],