You are here

public function ModalPageHelperService::__construct in Modal 4.0.x

Same name and namespace in other branches
  1. 4.1.x src/Service/ModalPageHelperService.php \Drupal\modal_page\Service\ModalPageHelperService::__construct()

Construct.

File

src/Service/ModalPageHelperService.php, line 42

Class

ModalPageHelperService
Modal Page Helper Service Class.

Namespace

Drupal\modal_page\Service

Code

public function __construct(LanguageManagerInterface $languageManager, AccountProxyInterface $loggedUser, EntityTypeManagerInterface $entityManager) {
  $this->languageManager = $languageManager;
  $this->loggedUser = $loggedUser;
  $this->entityTypeManager = $entityManager;
}