3 require_once 'lp.civix.php';
6 * Implements hook_civicrm_config().
8 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
10 function lp_civicrm_config(&$config) {
11 _lp_civix_civicrm_config($config);
15 * Implements hook_civicrm_xmlMenu().
17 * @param $files array(string)
19 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
21 function lp_civicrm_xmlMenu(&$files) {
22 _lp_civix_civicrm_xmlMenu($files);
26 * Implements hook_civicrm_install().
28 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
30 function lp_civicrm_install() {
31 _lp_civix_civicrm_install();
35 * Implements hook_civicrm_uninstall().
37 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
39 function lp_civicrm_uninstall() {
40 _lp_civix_civicrm_uninstall();
44 * Implements hook_civicrm_enable().
46 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
48 function lp_civicrm_enable() {
49 _lp_civix_civicrm_enable();
53 * Implements hook_civicrm_disable().
55 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
57 function lp_civicrm_disable() {
58 _lp_civix_civicrm_disable();
62 * Implements hook_civicrm_upgrade().
64 * @param $op string, the type of operation being performed; 'check' or 'enqueue'
65 * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
68 * 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 lp_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
74 return _lp_civix_civicrm_upgrade($op, $queue);
78 * Implements 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
85 function lp_civicrm_managed(&$entities) {
86 _lp_civix_civicrm_managed($entities);
90 * Implements hook_civicrm_caseTypes().
92 * Generate a list of case-types
94 * Note: This hook only runs in CiviCRM 4.4+.
96 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
98 function lp_civicrm_caseTypes(&$caseTypes) {
99 _lp_civix_civicrm_caseTypes($caseTypes);
103 * Implements hook_civicrm_angularModules().
105 * Generate a list of Angular modules.
107 * Note: This hook only runs in CiviCRM 4.5+. It may
108 * use features only available in v4.6+.
110 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
112 function lp_civicrm_angularModules(&$angularModules) {
113 _lp_civix_civicrm_angularModules($angularModules);
117 * Implements hook_civicrm_alterSettingsFolders().
119 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
121 function lp_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
122 _lp_civix_civicrm_alterSettingsFolders($metaDataFolders);
126 * Functions below this ship commented out. Uncomment as required.
130 * Implements hook_civicrm_preProcess().
132 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_preProcess
134 function lp_civicrm_preProcess($formName, &$form) {