You are here

public function RouteSubscriber::__construct in Workspace 8

Constructs a new RouteSubscriber object.

Parameters

\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:

File

src/Routing/RouteSubscriber.php, line 26

Class

RouteSubscriber
Subscriber for Workspace routes.

Namespace

Drupal\workspace\Routing

Code

public function __construct(MultiversionManagerInterface $multiversion_manager) {
  $this->multiversionManager = $multiversion_manager;
}