From 2f29e7a12b1556645bcce0605546ef0bd98f5f13 Mon Sep 17 00:00:00 2001 From: Kevin Kaland <kevin@wizonesolutions.com> Date: Sat, 8 Nov 2014 23:03:45 +0100 Subject: [PATCH] Add missing Title field. --- src/Entity/FillPdfForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Entity/FillPdfForm.php b/src/Entity/FillPdfForm.php index 421aafc..35e30c0 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.')) -- GitLab