interface InputHelperInterface in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/InputHelperInterface.php \Drupal\fillpdf\InputHelperInterface
Interface InputHelperInterface.
@package Drupal\fillpdf
Hierarchy
- interface \Drupal\fillpdf\InputHelperInterface
Expanded class hierarchy of InputHelperInterface
All classes that implement InputHelperInterface
2 files declare their use of InputHelperInterface
- FillPdfFormForm.php in src/
Form/ FillPdfFormForm.php - FillPdfOverviewForm.php in src/
Form/ FillPdfOverviewForm.php
File
- src/
InputHelperInterface.php, line 12
Namespace
Drupal\fillpdfView source
interface InputHelperInterface {
/**
* Attaches a PDF template file to a FillPdfForm.
*
* @param \Drupal\file\FileInterface $file
* The PDF template file to attach.
* @param \Drupal\fillpdf\FillPdfFormInterface $existing_form
* The FillPdfForm the PDF template file should be attached to.
*
* @return array
* Associative array with the following keys:
* - 'form': The updated FillPdfForm entity.
* - 'fields': Associative array of the FillPdfForm entity's saved
* FillPdfFormFields.
*/
public function attachPdfToForm(FileInterface $file, FillPdfFormInterface $existing_form = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InputHelperInterface:: |
public | function | Attaches a PDF template file to a FillPdfForm. | 1 |