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.
When I am creating my teaser view, one of the Teaser Variables is $node->links['comment_add']['href'], and right below it is comment/reply/492.
However, print $node->links['comment_add']['href']
produces nothing when I view the rendered teaser.
I viewed the teaser both logged in as the admin account (first user) and logged out and get the same results.