public function ConvertToPdf::__construct in PDF using mPDF 8.2
Same name and namespace in other branches
- 8 src/Conversion/ConvertToPdf.php \Drupal\pdf_using_mpdf\Conversion\ConvertToPdf::__construct()
ConvertToPdf constructor.
Parameters
RendererInterface $renderer:
ConfigFactoryInterface $config_factory:
Token $token:
LoggerChannelFactoryInterface $logger:
File
- src/
Conversion/ ConvertToPdf.php, line 69
Class
Namespace
Drupal\pdf_using_mpdf\ConversionCode
public function __construct(RendererInterface $renderer, ConfigFactoryInterface $config_factory, Token $token, LoggerChannelFactoryInterface $logger) {
$this->renderer = $renderer;
$this->configFactory = $config_factory;
$this->token = $token;
$this->logger = $logger;
// Initialize with settings from db
$this->settings = $this
->getConfig();
}