You are here

function foo_captcha_help in CAPTCHA 8

Implements hook_help().

You should of course implement a function foo_captcha_settings_form() which returns the form of your configuration page. === Optional: hook_help($section) === To offer a description/explanation of your challenge, you can use the normal hook_help() system. For our simple foo CAPTCHA module this would mean:

File

./captcha.api.php, line 111
Hooks for the captcha module.

Code

function foo_captcha_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'foo_captcha.settings':
      return '<p>' . t('This is a very simple challenge, which requires users to
      enter "foo" in a textfield.') . '</p>';
  }
}