InputHelperInterface.php in FillPDF 8.4
Same filename and directory in other branches
Namespace
Drupal\fillpdfFile
src/InputHelperInterface.phpView source
<?php
namespace Drupal\fillpdf;
use Drupal\file\FileInterface;
/**
* Interface InputHelperInterface.
*
* @package Drupal\fillpdf
*/
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);
}
Interfaces
Name | Description |
---|---|
InputHelperInterface | Interface InputHelperInterface. |