You are here

protected function ConvertToPdf::setFilename in PDF using mPDF 8

Sets the PDF filename.

1 call to ConvertToPdf::setFilename()
ConvertToPdf::generator in src/Conversion/ConvertToPdf.php
Generate the PDF file using the Mpdf library.

File

src/Conversion/ConvertToPdf.php, line 252

Class

ConvertToPdf
Class ConvertToPdf.

Namespace

Drupal\pdf_using_mpdf\Conversion

Code

protected function setFilename() {
  $this->filename = $this
    ->replaceTokens($this->settings['pdf_filename']);
}