You are here

public function HighContrastConfigurationForm::__construct in High contrast 8

Constructs a HighContrastConfigurationForm object.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler instance to use.

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

Overrides ConfigFormBase::__construct

File

src/Form/HighContrastConfigurationForm.php, line 44

Class

HighContrastConfigurationForm
Class HighContrastConfigurationForm.

Namespace

Drupal\high_contrast\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, FileSystemInterface $file_system) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
  $this->fileSystem = $file_system;
}