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.
Available variables:
$icon: The icon to display. May be one of 'hot', 'hot-new', 'new', 'default', 'closed', or 'sticky'.
I cannot find this variable in the template.
Comment | File | Size | Author |
---|---|---|---|
#1 | forum_icon.patch | 571 bytes | droplet |
Comments
Comment #1
droplet CreditAttribution: droplet commented$icon is not there, instead $icon_class
Comment #2
jhodgdonGood catch! You can see this being defined in template_preprocess_forum_icon(). It is definitely adding a variable for $icon_class not $icon. The choices in the original doc (unchanged in the patch) are also confirmed to be correct.
Thanks!
Comment #3
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.