protected function ConvertToPdf::setHeader in PDF using mPDF 8.2
Same name and namespace in other branches
- 8 src/Conversion/ConvertToPdf.php \Drupal\pdf_using_mpdf\Conversion\ConvertToPdf::setHeader()
Set header for PDF file.
1 call to ConvertToPdf::setHeader()
- ConvertToPdf::generator in src/
Conversion/ ConvertToPdf.php
File
- src/
Conversion/ ConvertToPdf.php, line 141
Class
Namespace
Drupal\pdf_using_mpdf\ConversionCode
protected function setHeader() {
$header = $this->settings['pdf_header'];
if (isset($header) && $header != NULL) {
$this->mpdf
->SetHTMLHeader($header);
}
}