Closed (duplicate)
Project:
Printer, email and PDF versions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 May 2015 at 12:33 UTC
Updated:
6 Sep 2019 at 14:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tobiberlinHere is a patch. Options are turned into an array so it might be good to save the default options as an array in variable 'print_pdf_wkhtmltopdf_options'?!
Comment #2
mortona2k commentedI did a similar, but much simpler tweak, basically just this line:
I was just trying to set wkhtmltopdf options based on the url. I can see how using arrays makes this much more manageable, and I hope we can get comment from module maintainers about saving the options variable as an array.
The patch diff looks sensible to me, hopefully someone else takes a deeper look.
Comment #3
jcnventuraYes, something like #3053844: add hook for print_pdf_wkhtmltopdf seems saner at this stage of the process.