You are here

public function FillPdfForm::getPropertiesToExport in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x 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\Entity

Code

public function getPropertiesToExport() {
  $fields = array_keys($this
    ->getFields());
  $fields_to_ignore = [
    'fid',
    'uuid',
    'file',
  ];
  return array_diff($fields, $fields_to_ignore);
}