<psr4 prefix="Civi\" path="Civi"/>
</classloader>
<mixins>
- <mixin>menu-xml@1.0.0</mixin>
+ <mixin>setting-admin@1.0.0</mixin>
<mixin>setting-php@1.0.0</mixin>
<mixin>ang-php@1.0.0</mixin>
<mixin>scan-classes@1.0.0</mixin>
_recaptcha_civix_civicrm_enable();
}
-/**
- * Implements hook_civicrm_navigationMenu().
- */
-function recaptcha_civicrm_navigationMenu(&$menu) {
- _recaptcha_civix_insert_navigation_menu($menu, 'Administer/System Settings', [
- 'label' => E::ts('reCAPTCHA Settings'),
- 'name' => 'recaptcha_settings',
- 'url' => 'civicrm/admin/setting/recaptcha',
- 'permission' => 'administer CiviCRM',
- 'operator' => 'OR',
- 'separator' => 0,
- ]);
- _recaptcha_civix_navigationMenu($menu);
-}
-
/**
* Intercept form functions
*/
+++ /dev/null
-<?xml version="1.0"?>
-<menu>
- <item>
- <path>civicrm/admin/setting/recaptcha</path>
- <title>reCAPTCHA Settings</title>
- <desc>Configure anti-abuse/bot-prevention service</desc>
- <page_callback>CRM_Admin_Form_Generic</page_callback>
- <access_arguments>administer CiviCRM</access_arguments>
- <adminGroup>System Settings</adminGroup>
- </item>
-</menu>