public function DynamicPathProcessor::__construct in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/PathProcessor/DynamicPathProcessor.php \Drupal\view_mode_page\PathProcessor\DynamicPathProcessor::__construct()
- 3.2.x src/PathProcessor/DynamicPathProcessor.php \Drupal\view_mode_page\PathProcessor\DynamicPathProcessor::__construct()
DynamicPathProcessor constructor.
Parameters
\Drupal\path_alias\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\PathProcessorCode
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;
}