You are here

public function PdfGeneratorInterface::save in PDF generator API 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PdfGeneratorInterface.php \Drupal\pdf_api\Plugin\PdfGeneratorInterface::save()

Generate and save the PDF at a specific location.

Parameters

string $location: The location (both absolute/relative) path to save the generated PDF to.

4 methods override PdfGeneratorInterface::save()
DompdfGenerator::save in src/Plugin/PdfGenerator/DompdfGenerator.php
Generate and save the PDF at a specific location.
MpdfGenerator::save in src/Plugin/PdfGenerator/MpdfGenerator.php
Generate and save the PDF at a specific location.
TcpdfGenerator::save in src/Plugin/PdfGenerator/TcpdfGenerator.php
Generate and save the PDF at a specific location.
WkhtmltopdfGenerator::save in src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php
Generate and save the PDF at a specific location.

File

src/Plugin/PdfGeneratorInterface.php, line 117
Contains \Drupal\pdf_api\Plugin\PdfGeneratorInterface.

Class

PdfGeneratorInterface
Defines an interface for PDF generator plugins.

Namespace

Drupal\pdf_api\Plugin

Code

public function save($location);