Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
captcha
Commits
58a768aa
Commit
58a768aa
authored
Feb 20, 2020
by
joachim
Committed by
Fabiano Sant'Ana
Feb 20, 2020
Browse files
Issue #3100258 by joachim, jernejbeg, wundo: undocumented return keys in hook_captcha()
parent
4b0360f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
captcha.api.php
captcha.api.php
+7
-0
No files found.
captcha.api.php
View file @
58a768aa
...
...
@@ -28,6 +28,13 @@
* - $captcha['solution']: this is the solution of your challenge
* - $captcha['form']: an array of the form elements you want to add to the
* form.
* - $captcha['cacheable']: (optional) boolean indicating whether the captcha
* type is compatible with the form being cached. Defaults to FALSE. Note
* that if this TRUE, the 'captcha_validate' key must be set to a callback
* that ignores the solution.
* - $captcha['captcha_validate']: (optional) The name of a function to call
* to compare the solution with the given response. Defaults to
* captcha_validate_strict_equality().
*
* There should be a key 'captcha_response' in this array, which points to
* the form element where the user enters the answer.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment