You are here

public function ImageCaptchaSettingsForm::__construct in CAPTCHA 8

Constructs a \Drupal\image_captcha\Form\ImageCaptchaSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\File\FileSystemInterface $fileSystem: The file_system service.

Overrides ConfigFormBase::__construct

File

image_captcha/src/Form/ImageCaptchaSettingsForm.php, line 45

Class

ImageCaptchaSettingsForm
Displays the pants settings form.

Namespace

Drupal\image_captcha\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager, FileSystemInterface $fileSystem) {
  parent::__construct($config_factory);
  $this->languageManager = $language_manager;
  $this->fileSystem = $fileSystem;
}