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.
In the ouput field for a Global: PHP field I want to render the output of, for example, Content: Title. However I want it to be formatted as I set it up when I created the field about in the fields section.
So when I put in the output PHP:
<?php print $row->title; ?>
It should print out the formatted link, and not just the value of the title. Including the link to the node, etc.
Same with all the other fields, but I am just getting the value, not the formatted value.
Comments
Comment #1
vlooivlerke CreditAttribution: vlooivlerke commentedI also wonder how to do this. The value is raw and that is not what I want.