Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Several classes use the $context array returned by \Drupal\fillpdf\FillPdfLinkManipulatorInterface::parseLink()
.
This should be replaced with a FillPdfLinkContext
object; it would then be possible to add validation to the data structure, create properties for the properties that should exist in the array, simplify code that uses it, and so on.
FillPdfManipulatorInterface::parseLink()
would then return an instance of this.
Comments
Comment #2
PanchoPostponing on #3048947: Refactor HandlePdfController::populatePdf() but definitely the way to go.
Comment #3
PanchoNo longer postponed.