3 // AUTO-GENERATED FILE -- This may be overwritten!
6 * (Delegated) Implementation of hook_civicrm_config
9 function _demoqueue_civix_civicrm_config(&$config) {
10 $template =& CRM_Core_Smarty
::singleton();
12 $extRoot = dirname(__FILE__
) . DIRECTORY_SEPARATOR
;
13 $extDir = $extRoot . 'templates';
15 if (is_array($template->template_dir
)) {
16 array_unshift($template->template_dir
, $extDir);
19 $template->template_dir
= [$extDir, $template->template_dir
];
22 $include_path = $extRoot . PATH_SEPARATOR
. get_include_path();
23 set_include_path($include_path);
27 * (Delegated) Implementation of hook_civicrm_xmlMenu
29 * @param $files array(string)
31 function _demoqueue_civix_civicrm_xmlMenu(&$files) {
32 foreach (glob(__DIR__
. '/xml/Menu/*.xml') as $file) {