You are here

public function CaptchaPointForm::__construct in CAPTCHA 8

CaptchaPointForm constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: Constructor.

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

File

src/Form/CaptchaPointForm.php, line 38

Class

CaptchaPointForm
Entity Form to edit CAPTCHA points.

Namespace

Drupal\captcha\Form

Code

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