You are here

public function EntityHelper::getFormFields in FillPDF 8.4

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

Gets all FillPdfFormFields associated with a FillPdfForm.

Parameters

\Drupal\fillpdf\FillPdfFormInterface $fillpdf_form: The FillPdfForm.

Return value

\Drupal\fillpdf\FillPdfFormFieldInterface[] Array of all associated FillPdfFormFields.

File

src/EntityHelper.php, line 26

Class

EntityHelper
Class EntityHelper.

Namespace

Drupal\fillpdf

Code

public function getFormFields(FillPdfFormInterface $fillpdf_form) {
  return $fillpdf_form
    ->getFormFields();
}