You are here

public function ReCaptchaV3ActionForm::__construct in reCAPTCHA v3 8

Constructs a ReCaptchaV3ActionForm.

Parameters

\Drupal\captcha\Service\CaptchaService $captcha_service: Captcha service.

File

src/Form/ReCaptchaV3ActionForm.php, line 31

Class

ReCaptchaV3ActionForm
Form controller for the recaptcha_v3_action entity edit forms.

Namespace

Drupal\recaptcha_v3\Form

Code

public function __construct(CaptchaService $captcha_service) {
  $this->captchaService = $captcha_service;
}