You are here

public function HandlePdfController::__construct in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Controller/HandlePdfController.php \Drupal\fillpdf\Controller\HandlePdfController::__construct()

Constructs a FillPdfBackendManager object.

Parameters

\Drupal\fillpdf\FillPdfLinkManipulatorInterface $link_manipulator: The FillPDF link manipulator.

\Drupal\fillpdf\FillPdfContextManagerInterface $context_manager: The FillPDF context manager.

\Drupal\fillpdf\TokenResolverInterface $token_resolver: The FillPDF token resolver.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

\Drupal\fillpdf\Plugin\PdfBackendManager $backend_manager: The FillPDF backend manager.

\Drupal\fillpdf\Plugin\FillPdfActionPluginManager $action_manager: The FillPDF action manager.

\Drupal\fillpdf\Service\BackendProxyInterface $backend_proxy: The backend proxy.

File

src/Controller/HandlePdfController.php, line 93

Class

HandlePdfController
Class HandlePdfController.

Namespace

Drupal\fillpdf\Controller

Code

public function __construct(FillPdfLinkManipulatorInterface $link_manipulator, FillPdfContextManagerInterface $context_manager, TokenResolverInterface $token_resolver, RequestStack $request_stack, PdfBackendManager $backend_manager, FillPdfActionPluginManager $action_manager, BackendProxyInterface $backend_proxy) {
  $this->linkManipulator = $link_manipulator;
  $this->contextManager = $context_manager;
  $this->tokenResolver = $token_resolver;
  $this->requestStack = $request_stack;
  $this->backendManager = $backend_manager;
  $this->actionManager = $action_manager;
  $this->backendProxy = $backend_proxy;
}