You are here

public function PathProcessor::__construct in Sub-pathauto (Sub-path URL Aliases) 8

Builds PathProcessor object.

Parameters

\Drupal\Core\PathProcessor\InboundPathProcessorInterface $path_processor: The path processor.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/PathProcessor.php, line 64

Class

PathProcessor
Processes the inbound path using path alias lookups.

Namespace

Drupal\subpathauto

Code

public function __construct(InboundPathProcessorInterface $path_processor, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory) {
  $this->pathProcessor = $path_processor;
  $this->languageManager = $language_manager;
  $this->configFactory = $config_factory;
}