You are here

public function AliasPathProcessor::__construct in Drupal 10

Same name and namespace in other branches
  1. 9 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;
}