Skip to content
Snippets Groups Projects
  1. Nov 23, 2022
  2. Feb 23, 2017
  3. Oct 01, 2015
  4. Nov 20, 2014
    • Kevin Kaland's avatar
      Convert main route...mostly. · 0facb18d
      Kevin Kaland authored
      I'm getting an error when I actually try to populate/download the PDF. There is probably
      something wrong with the Request object I'm returning. But this is closer.
      0facb18d
  5. Nov 10, 2014
  6. Nov 08, 2014
    • Kevin Kaland's avatar
      Almost add support for parsing. · f92fc8b4
      Kevin Kaland authored
      There's lots of changes here. I should have committed more often.
      Anyway, the gist of it is:
        - General code conversion to Drupal 8 patterns. I've taken shortcuts here and there but mostly avoid that. No idea on the quality. Hopefully, someone can give me some feedback.
        - Two new entity types, FillPdfForm and FillPdfFormField. These
          correspond to the old {fillpdf_forms} and {fillpdf_fields}
          tables. Now they're finally entities, so Views support will
          be possible for those of you who wanted it. I was finally forced to
          do this, and I'm glad.
        - PDF-filling methods are now PLUGINS!!! This means they all
          implement FillPdfBackendPluginInterface, and this basically
          achieves the same thing I was trying to do with the failed
          pdf_forms project. Anyone who wants to add their own
          backend can already do it; the fillpdf_service_backend
          configuration variable is used to select the correct backend.
          It should match the annotation ID. Look at
          FillPdfServiceFillPdfBackend to get an idea of how to structure the
          plugin.
        - Better use of actual entity references. FillPdfForms store a
          reference to their underlying Files instead of just an ID. Same with
          FillPdfFormField -> FillPdfForm.
Loading