You are here

public function FillPdfBackendPluginInterface::parse in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/FillPdfBackendPluginInterface.php \Drupal\fillpdf\FillPdfBackendPluginInterface::parse()

Parse a PDF and return a list of its fields.

Parameters

\Drupal\fillpdf\FillPdfFormInterface $fillpdf_form: The PDF whose fields are going to be parsed.

Return value

array An array of associative arrays. Each sub-array contains a 'name' key with the name of the field and a 'type' key with the type. These can be iterated over and saved by the caller.

6 methods override FillPdfBackendPluginInterface::parse()
FillPdfServicePdfBackend::parse in src/Plugin/PdfBackend/FillPdfServicePdfBackend.php
JavaBridgeFillPdfBackend::parse in modules/fillpdf_legacy/src/Plugin/FillPdfBackend/JavaBridgeFillPdfBackend.php
Parse a PDF and return a list of its fields.
LegacyProviderPdfBackend::parse in modules/fillpdf_legacy/src/Plugin/PdfBackend/LegacyProviderPdfBackend.php
Parse a PDF and return a list of its fields.
LocalServerPdfBackend::parse in src/Plugin/PdfBackend/LocalServerPdfBackend.php
PdftkPdfBackend::parse in src/Plugin/PdfBackend/PdftkPdfBackend.php

... See full list

File

src/FillPdfBackendPluginInterface.php, line 29

Class

FillPdfBackendPluginInterface
Defines the required interface for all FillPDF BackendService plugins.

Namespace

Drupal\fillpdf

Code

public function parse(FillPdfFormInterface $fillpdf_form);