You are here

public function DomainMenuLinkTreeManipulators::__construct in Domain Menu Access 8

Constructor.

Parameters

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

\Drupal\domain\DomainNegotiator $domain_negotiator: The domain negotiator.

File

src/Menu/DomainMenuLinkTreeManipulators.php, line 57

Class

DomainMenuLinkTreeManipulators
Provides a couple of menu link tree manipulators.

Namespace

Drupal\domain_menu_access\Menu

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, DomainNegotiator $domain_negotiator, LanguageManagerInterface $language_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->domainNegotiator = $domain_negotiator;
  $this->languageManager = $language_manager;
}