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.
template_preprocess_forward()
generates a "Read more about @entity-name" link. Currently, it's just using $entity->toUrl()
. It should set the options array to force an absolute URL for this link.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2968659-2.forward-entity-link-absolute.patch | 590 bytes | dww |
Comments
Comment #2
dwwComment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedjohn.oltman credited drupalhost001x.
Comment #5
john.oltman CreditAttribution: john.oltman commentedComment #6
dwwThanks!
(Side note, what's up with the "drupalhost001x" account?)
Comment #7
john.oltman CreditAttribution: john.oltman commentedOops, had the wrong email in my Git config