Log in
Interface

IsCaptchaEnabledInterface

Magento\ReCaptchaUi\Model\IsCaptchaEnabledInterface

What it does

This interface defines a contract for checking whether reCAPTCHA validation is enabled for specific features in Magento 2.

Developers implement or use this interface to determine if reCAPTCHA should be displayed and validated for actions like customer login, registration, contact forms, or checkout by passing a functionality identifier key.

Public Methods

  • isCaptchaEnabledFor()