You are here

public function FillPdfAdminFormHelper::__construct in FillPDF 8.4

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

Constructs a FillPdfAdminFormHelper object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.

\Drupal\Core\Database\Connection $connection: The database connection.

File

src/Service/FillPdfAdminFormHelper.php, line 59

Class

FillPdfAdminFormHelper
Various helper methods used in FillPDF administrative forms.

Namespace

Drupal\fillpdf\Service

Code

public function __construct(ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory, StreamWrapperManagerInterface $stream_wrapper_manager, Connection $connection) {
  $this->moduleHandler = $module_handler;
  $this->configFactory = $config_factory;
  $this->streamWrapperManager = $stream_wrapper_manager;
  $this->connection = $connection;
}