public function PathProcessorAlias::__construct

public PathProcessorAlias::__construct(AliasManagerInterface $alias_manager)

Constructs a PathProcessorAlias object.

Parameters

\Drupal\Core\Path\AliasManagerInterface $alias_manager: An alias manager for looking up the system path.

File

core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php, line 27

Class

PathProcessorAlias
Processes the inbound path using path alias lookups.

Namespace

Drupal\Core\PathProcessor

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!PathProcessor!PathProcessorAlias.php/function/PathProcessorAlias::__construct/8.1.x