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 was sure i posted this somewhere last night.. but...
The variable list that is presented by contemplate suggests that the $links are available. Prettry sure that they are not.
http://www-128.ibm.com/developerworks/ibm/library/i-osource5/sidefile1.html
this flow chart shows the issue (i think).. teasers/body are created long before hook_links are called.
of course, i suspect the individual link hooks can be called as you see fit in your contempalate code
oh well.. would have been handy..
Peter Lindstrom
LiquidCMS - Content Management Solution Experts
Comments
Comment #1
liquidcms CreditAttribution: liquidcms commentedoh, btw.. so i think the only bug part of this is perhaps the variables list shouldn't state they are available.
Comment #2
jrglasgow CreditAttribution: jrglasgow commentedis this still a problem in 5.x or later?