function AliasPathProcessor::__construct

Same name in other branches
  1. 10 core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php \Drupal\path_alias\PathProcessor\AliasPathProcessor::__construct()
  2. 11.x core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php \Drupal\path_alias\PathProcessor\AliasPathProcessor::__construct()

Constructs a AliasPathProcessor object.

Parameters

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

File

core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php, line 29

Class

AliasPathProcessor
Processes the inbound path using path alias lookups.

Namespace

Drupal\path_alias\PathProcessor

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.