function ContextualLinksNegotiator::__construct

File

core/modules/contextual/src/Theme/ContextualLinksNegotiator.php, line 16

Class

ContextualLinksNegotiator
Set the theme according to the parameter passed to the controller.

Namespace

Drupal\contextual\Theme

Code

public function __construct(protected readonly RouteMatchInterface $route_match, protected readonly RequestStack $requestStack, protected readonly ThemeHandlerInterface $themeHandler, protected readonly ConfigFactoryInterface $configFactory) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.