You are here

public function DynamicPathProcessor::__construct in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/PathProcessor/DynamicPathProcessor.php \Drupal\view_mode_page\PathProcessor\DynamicPathProcessor::__construct()
  2. 3.2.x src/PathProcessor/DynamicPathProcessor.php \Drupal\view_mode_page\PathProcessor\DynamicPathProcessor::__construct()

DynamicPathProcessor constructor.

Parameters

\Drupal\Core\Path\AliasManagerInterface $alias_manager: The alias manager interface.

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

\Drupal\view_mode_page\Repository\ViewmodepagePatternRepository $pattern_repository: The viewmodepage pattern repository.

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

File

src/PathProcessor/DynamicPathProcessor.php, line 68

Class

DynamicPathProcessor
Class DynamicPathProcessor.

Namespace

Drupal\view_mode_page\PathProcessor

Code

public function __construct(AliasManagerInterface $alias_manager, EntityTypeManagerInterface $entity_type_manager, ViewmodepagePatternRepository $pattern_repository, LanguageManagerInterface $language_manager) {
  $this->aliasManager = $alias_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->patternRepository = $pattern_repository;
  $this->languageManager = $language_manager;
}