public function BackendServiceInterface::parse in FillPDF 8.4
Parse a PDF and return a list of its fields.
Parameters
string $pdf_content: The PDF whose fields are going to be parsed. This should be the contents of a PDF loaded with something like file_get_contents() or equivalent.
Return value
array[] An array of arrays containing metadata about the fields in the PDF. These can be iterated over and saved by the caller.
1 method overrides BackendServiceInterface::parse()
- Test::parse in tests/
modules/ fillpdf_test/ src/ Plugin/ BackendService/ Test.php - Parse a PDF and return a list of its fields.
File
- modules/
fillpdf_legacy/ src/ Plugin/ BackendServiceInterface.php, line 28
Class
- BackendServiceInterface
- Defines an interface for FillPDF BackendService plugins.
Namespace
Drupal\fillpdf_legacy\PluginCode
public function parse($pdf_content);