diff --git a/src/Entity/FillPdfForm.php b/src/Entity/FillPdfForm.php index 421aafc5db933b5f000e341b47f5d8b8d0b9f833..35e30c0fb84909cceb635676b59406e03167164e 100644 --- a/src/Entity/FillPdfForm.php +++ b/src/Entity/FillPdfForm.php @@ -44,6 +44,10 @@ class FillPdfForm extends ContentEntityBase implements FillPdfFormInterface { ->setDescription(t('The UUID of the FillPdfForm entity.')) ->setReadOnly(TRUE); + $fields['title'] = BaseFieldDefinition::create('string') + ->setLabel(t('Filename pattern')) + ->setDescription(t('The pattern to use for serving populated PDF files.')); + $fields['file'] = BaseFieldDefinition::create('entity_reference') ->setLabel(t('The associated managed file.')) ->setDescription(t('The associated managed file.'))