class EntityHelper in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/EntityHelper.php \Drupal\fillpdf\EntityHelper
Class EntityHelper.
@package Drupal\fillpdf
Hierarchy
- class \Drupal\fillpdf\EntityHelper implements EntityHelperInterface
Expanded class hierarchy of EntityHelper
Deprecated
in fillpdf:8.x-4.7 and is removed from fillpdf:8.x-5.0. Applies to this class and the 'fillpdf.entity_helper' service. The getFormFields() method lives within the FillPdfForm entity now.
See also
https://www.drupal.org/project/fillpdf/issues/3046257
\Drupal\fillpdf\Entity\FillPdfForm::getFormFields()
1 string reference to 'EntityHelper'
1 service uses EntityHelper
File
- src/
EntityHelper.php, line 15
Namespace
Drupal\fillpdfView source
class EntityHelper implements EntityHelperInterface {
/**
* Gets all FillPdfFormFields associated with a FillPdfForm.
*
* @param \Drupal\fillpdf\FillPdfFormInterface $fillpdf_form
* The FillPdfForm.
*
* @return \Drupal\fillpdf\FillPdfFormFieldInterface[]
* Array of all associated FillPdfFormFields.
*/
public function getFormFields(FillPdfFormInterface $fillpdf_form) {
return $fillpdf_form
->getFormFields();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityHelper:: |
public | function | Gets all FillPdfFormFields associated with a FillPdfForm. |