You are here

public function PathController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/path/src/Controller/PathController.php \Drupal\path\Controller\PathController::__construct()

Constructs a new PathController.

Parameters

\Drupal\Core\Path\AliasStorageInterface $alias_storage: The path alias storage.

\Drupal\Core\Path\AliasManagerInterface $alias_manager: The path alias manager.

File

core/modules/path/src/Controller/PathController.php, line 45
Contains \Drupal\path\Controller\PathController.

Class

PathController
Controller routines for path routes.

Namespace

Drupal\path\Controller

Code

public function __construct(AliasStorageInterface $alias_storage, AliasManagerInterface $alias_manager) {
  $this->aliasStorage = $alias_storage;
  $this->aliasManager = $alias_manager;
}