You are here

public function FillPdfFormField::getPropertiesToExport in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Entity/FillPdfFormField.php \Drupal\fillpdf\Entity\FillPdfFormField::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/FillPdfFormField.php, line 109

Class

FillPdfFormField
Defines an entity for PDF fields associated with a FillPDF form entity.

Namespace

Drupal\fillpdf\Entity

Code

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