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.
The code for overriding some print friendly settings for the print link in the book module have no effect as they are coded in print_link_alter, an implementation of hook_link_alter which no longer exists in D7. The (modified) code should be placed in implementation of hook_node_view_alter. Sorry for not delivering patch.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedYes, that was on my TODO list for the 7.x conversion.
Thanks for saving me the trouble of looking up which hook I should use. That was a great help!
:)
João
Comment #3
dxx CreditAttribution: dxx commentedHi,
It's already planned?