/** * (Delegated) Implements hook_civicrm_managed(). * * Find any *.mgd.php files, merge their content, and return. * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed */ function _tokens_civix_civicrm_managed(&$entities) { $mgdFiles = _tokens_civix_find_files(__DIR__, '*.mgd.php'); foreach ($mgdFiles as $file) { $es = (include $file); foreach ($es as $e) { if (empty($e['module'])) { $e['module'] = 'nl.edeveloper.broodfonds.tokens'; } $entities[] = $e; } } }
/** * (Delegated) Implements hook_civicrm_managed(). * * Find any *.mgd.php files, merge their content, and return. * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed */ function _tokens_civix_civicrm_managed(&$entities) { $mgdFiles = _tokens_civix_find_files(__DIR__, '*.mgd.php'); foreach ($mgdFiles as $file) { $es = (include $file); foreach ($es as $e) { if (empty($e['module'])) { $e['module'] = 'org.civicoop.dgw.tokens'; } $entities[] = $e; } } }