You are here

public function KeycloakRouteSubscriber::__construct in Keycloak OpenID Connect 8

Construct a KeycloakRouteSubscriber object.

Parameters

\Drupal\keycloak\Service\KeycloakServiceInterface $keycloak: A Keycloak service instance.

File

src/Routing/KeycloakRouteSubscriber.php, line 28

Class

KeycloakRouteSubscriber
Listens to dynamic route events.

Namespace

Drupal\keycloak\Routing

Code

public function __construct(KeycloakServiceInterface $keycloak) {
  $this->keycloak = $keycloak;
}