You are here

public function DomainSourcePathProcessor::__construct in Domain Access 8

Constructs a DomainSourcePathProcessor object.

Parameters

\Drupal\domain\DomainNegotiatorInterface $negotiator: The domain negotiator.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\path_alias\AliasManagerInterface $alias_manager: The path alias manager.

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

File

domain_source/src/HttpKernel/DomainSourcePathProcessor.php, line 97

Class

DomainSourcePathProcessor
Processes the outbound path using path alias lookups.

Namespace

Drupal\domain_source\HttpKernel

Code

public function __construct(DomainNegotiatorInterface $negotiator, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager, AliasManagerInterface $alias_manager, ConfigFactoryInterface $config_factory) {
  $this->negotiator = $negotiator;
  $this->moduleHandler = $module_handler;
  $this->entityTypeManager = $entity_type_manager;
  $this->aliasManager = $alias_manager;
  $this->configFactory = $config_factory;
}