public function FillPdfForm::getPropertiesToExport in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Entity/FillPdfForm.php \Drupal\fillpdf\Entity\FillPdfForm::getPropertiesToExport()
Gets the content entity properties to export if declared on the annotation.
Return value
array|null The properties to export or NULL if they can not be determined.
Overrides ExportableContentEntityInterface::getPropertiesToExport
File
- src/
Entity/ FillPdfForm.php, line 294
Class
- FillPdfForm
- Defines the entity for managing uploaded FillPDF forms.
Namespace
Drupal\fillpdf\EntityCode
public function getPropertiesToExport() {
$fields = array_keys($this
->getFields());
$fields_to_ignore = [
'fid',
'uuid',
'file',
];
return array_diff($fields, $fields_to_ignore);
}