You are here

public function Middleware::__construct in Domain Access 8

Constructs a Middleware object.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.

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

File

domain_config/tests/modules/domain_config_middleware_test/src/Middleware.php, line 36

Class

Middleware
Middleware for the domain_config_test module.

Namespace

Drupal\domain_config_middleware_test

Code

public function __construct(HttpKernelInterface $http_kernel, ConfigFactoryInterface $config_factory) {
  $this->httpKernel = $http_kernel;
  $this->configFactory = $config_factory;
}