You are here

public function Middleware::handle in Domain Access 8

File

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

Class

Middleware
Middleware for the domain_config_test module.

Namespace

Drupal\domain_config_middleware_test

Code

public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {

  // This line should break hooks in our code.
  // @see https://www.drupal.org/node/2896434.
  $config = $this->configFactory
    ->get('domain_config_middleware_test.settings');
  return $this->httpKernel
    ->handle($request, $type, $catch);
}