public function KeycloakRequestSubscriber::__construct in Keycloak OpenID Connect 8
Constructs a RedirectRequestSubscriber.
Parameters
\Drupal\keycloak\Service\KeycloakServiceInterface $keycloak: The Keycloak service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.
\Drupal\Core\PathProcessor\InboundPathProcessorInterface $path_processor: Inbound path processor manager.
\Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher.
File
- src/
EventSubscriber/ KeycloakRequestSubscriber.php, line 62
Class
- KeycloakRequestSubscriber
- Redirect subscriber for controller requests.
Namespace
Drupal\keycloak\EventSubscriberCode
public function __construct(KeycloakServiceInterface $keycloak, LanguageManagerInterface $language_manager, InboundPathProcessorInterface $path_processor, PathMatcherInterface $path_matcher) {
$this->keycloak = $keycloak;
$this->languageManager = $language_manager;
$this->pathProcessor = $path_processor;
$this->pathMatcher = $path_matcher;
}