PathController::__construct

public PathController::__construct(AliasStorageInterface $alias_storage, AliasManagerInterface $alias_manager)

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 40

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;
}
doc_Drupal
2016-10-29 09:33:20
Comments
Leave a Comment

Please login to continue.