$permissions['validate any authx credential'] = E::ts('Authx: Validate credentials for other users via the API');
}
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function authx_civicrm_preProcess($formName, &$form) {
-//
-//}
-
/**
* Implements hook_civicrm_navigationMenu().
*
function civicrm_search_ui_civicrm_enable(): void {
_civicrm_search_ui_civix_civicrm_enable();
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function civicrm_search_ui_civicrm_preProcess($formName, &$form): void {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function civicrm_search_ui_civicrm_navigationMenu(&$menu): void {
-// _civicrm_search_ui_civix_insert_navigation_menu($menu, 'Mailings', [
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ]);
-// _civicrm_search_ui_civix_navigationMenu($menu);
-//}
];
}
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function ckeditor4_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function ckeditor4_civicrm_navigationMenu(&$menu) {
-// _ckeditor4_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _ckeditor4_civix_navigationMenu($menu);
-//}
function elavon_civicrm_entityTypes(&$entityTypes) {
_elavon_civix_civicrm_entityTypes($entityTypes);
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function elavon_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function elavon_civicrm_navigationMenu(&$menu) {
-// _elavon_civix_insert_navigation_menu($menu, 'Mailings', [
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ]);
-// _elavon_civix_navigationMenu($menu);
-//}
function ewaysingle_civicrm_entityTypes(&$entityTypes) {
_ewaysingle_civix_civicrm_entityTypes($entityTypes);
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function ewaysingle_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function ewaysingle_civicrm_navigationMenu(&$menu) {
-// _ewaysingle_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _ewaysingle_civix_navigationMenu($menu);
-//}
unset(\Civi::$statics['CRM_Financial_BAO_FinancialType']);
}
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function financialacls_civicrm_preProcess($formName, &$form) {
-//
-//}
-
/**
* Require financial acl permissions for financial screens.
*
}
$menu['civicrm/admin/financial/financialType']['access_arguments'] = [['administer CiviCRM Financial Types']];
}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function financialacls_civicrm_navigationMenu(&$menu) {
-// _financialacls_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _financialacls_civix_navigationMenu($menu);
-//}
function message_admin_civicrm_enable() {
_message_admin_civix_civicrm_enable();
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function message_admin_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function message_admin_civicrm_navigationMenu(&$menu) {
-// _message_admin_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _message_admin_civix_navigationMenu($menu);
-//}
function payflowpro_civicrm_entityTypes(&$entityTypes) {
_payflowpro_civix_civicrm_entityTypes($entityTypes);
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function payflowpro_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function payflowpro_civicrm_navigationMenu(&$menu) {
-// _payflowpro_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _payflowpro_civix_navigationMenu($menu);
-//}
function standaloneusers_civicrm_enable() {
_standaloneusers_civix_civicrm_enable();
}
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function standaloneusers_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-// function standaloneusers_civicrm_navigationMenu(&$menu) {
-// _standalineusers_addUserMenus($menu);
-// }
-
-// function _standaloneusers_addUserMenus(&$menu) {
-// _standaloneusers_civix_insert_navigation_menu($menu, 'Administer/Users and Permissions', [
-// 'label' => E::ts('Users'),
-// 'name' => 'admin_users',
-// 'url' => 'civicrm/search#/display/Users/Users',
-// 'permission' => 'cms:administer users',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// 'weight' => 0,
-// ]);
-// _standaloneusers_civix_navigationMenu($menu);
-// }
_shimmy_civix_civicrm_entityTypes($entityTypes);
}
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function shimmy_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function shimmy_civicrm_navigationMenu(&$menu) {
-// _shimmy_civix_insert_navigation_menu($menu, 'Mailings', array(
-// 'label' => E::ts('New subliminal message'),
-// 'name' => 'mailing_subliminal_message',
-// 'url' => 'civicrm/mailing/subliminal',
-// 'permission' => 'access CiviMail',
-// 'operator' => 'OR',
-// 'separator' => 0,
-// ));
-// _shimmy_civix_navigationMenu($menu);
-//}
-
/**
* Assert that there is a service with a given name+type.
*