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.
I have been able to get my node to print to a PDF using a custom template. The problem is that I can only get $content to print. I wish to make a custom template where I can just print a single field, but can't figure out the syntax. I have tried a million things, starting with $content['my_field_name'] but, alas. no luck. Any thoughts? Thanks.
Comments