captcha.settings.yml in CAPTCHA 8
Same filename in this branch
config/schema/captcha.settings.yml
7 string references to 'captcha.settings'
- CaptchaCachedSettingsSubscriber::onSave in src/
EventSubscriber/ CaptchaCachedSettingsSubscriber.php - Clearing the cached definitions whenever the settings are modified.
- CaptchaSettingsForm::buildForm in src/
Form/ CaptchaSettingsForm.php - Form constructor.
- CaptchaSettingsForm::getEditableConfigNames in src/
Form/ CaptchaSettingsForm.php - Gets the configuration names that will be editable.
- CaptchaSettingsForm::submitForm in src/
Form/ CaptchaSettingsForm.php - Form submission handler.
- CaptchaTest::testCaseInsensitiveValidation in tests/
src/ Functional/ CaptchaTest.php - Testing the case sensitive/insensitive validation.
File
config/schema/captcha.settings.ymlView source
- # Schema for the configuration files of the captcha module.
- #wrong_response_counter
-
- captcha.settings:
- type: config_object
- label: 'External Links Settings'
- mapping:
- enabled_default:
- type: integer
- label: 'Add captcha to all forms.'
- default_challenge:
- type: string
- label: 'The default challenge for captcha.'
- description:
- type: label
- label: 'The default captcha description.'
- administration_mode:
- type: boolean
- label: 'Add CAPTCHA administration links to forms'
- allow_on_admin_pages:
- type: boolean
- label: 'Allow CAPTCHAs and CAPTCHA administration links on administrative pages'
- add_captcha_description:
- type: boolean
- label: 'Add a description to the CAPTCHA'
- wrong_captcha_response_message:
- type: label
- label: 'The error message when a user has entered an incorrect CAPTCHA answer.'
- default_validation:
- type: integer
- label: 'Default CAPTCHA validation'
- persistence:
- type: integer
- label: 'CAPTCHA Persistence'
- enable_stats:
- type: boolean
- label: 'Enable statistics'
- log_wrong_responses:
- type: boolean
- label: 'Log wrong responses'