You are here

protected function PdftkPdfBackend::getPdftkPath in FillPDF 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Plugin/PdfBackend/PdftkPdfBackend.php \Drupal\fillpdf\Plugin\PdfBackend\PdftkPdfBackend::getPdftkPath()

Returns the configured path to the local pdftk installation.

@internal

Return value

string The configured path to the local pdftk installation.

2 calls to PdftkPdfBackend::getPdftkPath()
PdftkPdfBackend::mergeFile in src/Plugin/PdfBackend/PdftkPdfBackend.php
Populate a PDF file with field data.
PdftkPdfBackend::parseFile in src/Plugin/PdfBackend/PdftkPdfBackend.php
Parse a PDF and return a list of its fields.

File

src/Plugin/PdfBackend/PdftkPdfBackend.php, line 166

Class

PdftkPdfBackend
Pdftk PdfBackend plugin.

Namespace

Drupal\fillpdf\Plugin\PdfBackend

Code

protected function getPdftkPath() {
  return isset($this->configuration['pdftk_path']) ? $this->configuration['pdftk_path'] : 'pdftk';
}