diff --git a/recaptcha.module b/recaptcha.module index 380854c5d38c645d4e5b54bb1fb139d4aaf4cf17..71677cd9c226ee6677444e4f9afaf22b34e8565c 100644 --- a/recaptcha.module +++ b/recaptcha.module @@ -20,8 +20,24 @@ require_once dirname(__FILE__) . '/src/ReCaptcha/RequestMethod/Drupal8Post.php'; */ function recaptcha_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { - case 'recaptcha.admin_settings_form': - return t('Google reCAPTCHA is a free service to protect your website from spam and abuse. reCAPTCHA uses an advanced risk analysis engine and adaptive CAPTCHAs to keep automated software from engaging in abusive activities on your site. It does this while letting your valid users pass through with ease.', array(':url' => 'https://www.google.com/recaptcha')); + case 'help.page.recaptcha': + $output = ''; + $output .= '
' . t('Google reCAPTCHA is a free service to protect your website from spam and abuse. reCAPTCHA uses an advanced risk analysis engine and adaptive CAPTCHAs to keep automated software from engaging in abusive activities on your site. It does this while letting your valid users pass through with ease.', array(':url' => 'https://www.google.com/recaptcha')) . '
'; + $output .= '