Log in
Model

Config

Magento\ReCaptchaVersion2Checkbox\Model\Config

What it does

This class provides configuration settings for Google reCAPTCHA v2 Checkbox ("I am not a robot") integration in Magento 2.

Developers use this class to retrieve reCAPTCHA settings like the website key, theme, and language code needed to render and validate the checkbox captcha on forms.

It implements the ReCaptchaConfigInterface to ensure consistent configuration access across different reCAPTCHA implementations.

Public Methods

  • getWebsiteKey()
  • getTheme()
  • getLanguageCode()
  • getMinimumScore()
  • getBadgePosition()
  • _resetState()