public function CaptchaFontPreviewController::__construct in CAPTCHA 8
File
- image_captcha/
src/ Controller/ CaptchaFontPreviewController.php, line 33
Class
- CaptchaFontPreviewController
- Controller which generates the image from defined settings.
Namespace
Drupal\image_captcha\ControllerCode
public function __construct(ImmutableConfig $config, KillSwitch $kill_switch) {
$this->config = $config;
$this->killSwitch = $kill_switch;
}