public function ModalPage::__construct in Modal 8.2
Same name and namespace in other branches
- 8.3 src/ModalPage.php \Drupal\modal_page\ModalPage::__construct()
- 8 src/ModalPage.php \Drupal\modal_page\ModalPage::__construct()
Construct of Modal Page service.
File
- src/
ModalPage.php, line 91
Class
- ModalPage
- Modal Page Class.
Namespace
Drupal\modal_pageCode
public function __construct(LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_manager, ConfigFactoryInterface $config_factory, Connection $database, RequestStack $request_stack, PathMatcherInterface $path_matcher, UuidInterface $uuid_service, AccountProxyInterface $current_user, AliasManagerInterface $alias_manager) {
$this->languageManager = $language_manager;
$this->entityTypeManager = $entity_manager;
$this->pathMatcher = $path_matcher;
$this->request = $request_stack
->getCurrentRequest();
$this->configFactory = $config_factory;
$this->database = $database;
$this->uuidService = $uuid_service;
$this->currentUser = $current_user;
$this->aliasManager = $alias_manager;
}