You are here

public function ConfigEventSubscriber::__construct in High contrast 8

Constructs a ConfigEventSubscriber object.

Parameters

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

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/EventSubscriber/ConfigEventSubscriber.php, line 38

Class

ConfigEventSubscriber
A subscriber for updating the stylesheet when the configuration is updated.

Namespace

Drupal\high_contrast\EventSubscriber

Code

public function __construct(FileSystemInterface $file_system, ConfigFactoryInterface $config_factory) {
  $this->fileSystem = $file_system;
  $this->configFactory = $config_factory;
}