<classloader>
<psr4 prefix="Civi\" path="Civi"/>
</classloader>
+ <mixins>
+ <mixin>ang-php@1.0.0</mixin>
+ </mixins>
<civix>
<namespace>CRM/MessageAdmin</namespace>
</civix>
}
}
-/**
- * (Delegated) Implements hook_civicrm_angularModules().
- *
- * Find any and return any files matching "ang/*.ang.php"
- *
- * Note: This hook only runs in CiviCRM 4.5+.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
- */
-function _message_admin_civix_civicrm_angularModules(&$angularModules) {
- if (!is_dir(__DIR__ . '/ang')) {
- return;
- }
-
- $files = _message_admin_civix_glob(__DIR__ . '/ang/*.ang.php');
- foreach ($files as $file) {
- $name = preg_replace(':\.ang\.php$:', '', basename($file));
- $module = include $file;
- if (empty($module['ext'])) {
- $module['ext'] = E::LONG_NAME;
- }
- $angularModules[$name] = $module;
- }
-}
-
/**
* (Delegated) Implements hook_civicrm_themes().
*
_message_admin_civix_civicrm_caseTypes($caseTypes);
}
-/**
- * Implements hook_civicrm_angularModules().
- *
- * Generate a list of Angular modules.
- *
- * Note: This hook only runs in CiviCRM 4.5+. It may
- * use features only available in v4.6+.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
- */
-function message_admin_civicrm_angularModules(&$angularModules) {
- _message_admin_civix_civicrm_angularModules($angularModules);
-}
-
/**
* Implements hook_civicrm_entityTypes().
*
</classloader>
<upgrader>CRM_OAuth_Upgrader</upgrader>
<mixins>
+ <mixin>ang-php@1.0.0</mixin>
<mixin>setting-php@1.0.0</mixin>
</mixins>
<civix>
}
}
-/**
- * (Delegated) Implements hook_civicrm_angularModules().
- *
- * Find any and return any files matching "ang/*.ang.php"
- *
- * Note: This hook only runs in CiviCRM 4.5+.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
- */
-function _oauth_client_civix_civicrm_angularModules(&$angularModules) {
- if (!is_dir(__DIR__ . '/ang')) {
- return;
- }
-
- $files = _oauth_client_civix_glob(__DIR__ . '/ang/*.ang.php');
- foreach ($files as $file) {
- $name = preg_replace(':\.ang\.php$:', '', basename($file));
- $module = include $file;
- if (empty($module['ext'])) {
- $module['ext'] = E::LONG_NAME;
- }
- $angularModules[$name] = $module;
- }
-}
-
/**
* (Delegated) Implements hook_civicrm_themes().
*
_oauth_client_civix_civicrm_caseTypes($caseTypes);
}
-/**
- * Implements hook_civicrm_angularModules().
- *
- * Generate a list of Angular modules.
- *
- * Note: This hook only runs in CiviCRM 4.5+. It may
- * use features only available in v4.6+.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
- */
-function oauth_client_civicrm_angularModules(&$angularModules) {
- _oauth_client_civix_civicrm_angularModules($angularModules);
-}
-
/**
* Implements hook_civicrm_entityTypes().
*
<psr4 prefix="Civi\" path="Civi"/>
</classloader>
<upgrader>CRM_Search_Upgrader</upgrader>
+ <mixins>
+ <mixin>ang-php@1.0.0</mixin>
+ </mixins>
<civix>
<namespace>CRM/Search</namespace>
</civix>
}
}
-/**
- * (Delegated) Implements hook_civicrm_angularModules().
- *
- * Find any and return any files matching "ang/*.ang.php"
- *
- * Note: This hook only runs in CiviCRM 4.5+.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
- */
-function _search_kit_civix_civicrm_angularModules(&$angularModules) {
- if (!is_dir(__DIR__ . '/ang')) {
- return;
- }
-
- $files = _search_kit_civix_glob(__DIR__ . '/ang/*.ang.php');
- foreach ($files as $file) {
- $name = preg_replace(':\.ang\.php$:', '', basename($file));
- $module = include $file;
- if (empty($module['ext'])) {
- $module['ext'] = E::LONG_NAME;
- }
- $angularModules[$name] = $module;
- }
-}
-
/**
* (Delegated) Implements hook_civicrm_themes().
*
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
*/
function search_kit_civicrm_angularModules(&$angularModules) {
- _search_kit_civix_civicrm_angularModules($angularModules);
// Fetch all search tasks provided by extensions and add their Angular modules as crmSearchTasks dependencies
$tasks = [];
$null = NULL;