You are here

public function ModalAjaxController::__construct in Modal 4.1.x

Same name and namespace in other branches
  1. 4.0.x src/Controller/ModalAjaxController.php \Drupal\modal_page\Controller\ModalAjaxController::__construct()

Creates a new HelpController.

File

src/Controller/ModalAjaxController.php, line 72

Class

ModalAjaxController
Controller routines for Ajax routes.

Namespace

Drupal\modal_page\Controller

Code

public function __construct(RouteMatchInterface $route_match, ExtensionList $extension_list_module, ConfigFactoryInterface $config_factory, ModalPageHelperService $modalPageHelperService, ModuleHandlerInterface $projectHandler, EntityTypeManagerInterface $entityManager, RequestStack $requestStack) {
  $this->routeMatch = $route_match;
  $this->extensionListModule = $extension_list_module;
  $this->configFactory = $config_factory;
  $this->modalPageHelperService = $modalPageHelperService;
  $this->projectHandler = $projectHandler;
  $this->entityTypeManager = $entityManager;
  $this->requestStack = $requestStack;
}