You are here

public function MpdfGenerator::send in PDF generator API 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/PdfGenerator/MpdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\MpdfGenerator::send()

The name of the file to be downloaded.

Overrides PdfGeneratorInterface::send

File

src/Plugin/PdfGenerator/MpdfGenerator.php, line 173
Contains \Drupal\pdf_api\Plugin\MpdfGenerator.

Class

MpdfGenerator
A PDF generator plugin for the mPDF library.

Namespace

Drupal\pdf_api\Plugin\PdfGenerator

Code

public function send() {
  $this->generator
    ->Output("", "I");
}