/Drupal 8


Default theme implementation to display a status icon for a forum post.

Available variables:

  • attributes: HTML attributes to be applied to the wrapper element.
    • class: HTML classes that determine which icon to display. May be one of 'hot', 'hot-new', 'new', 'default', 'closed', or 'sticky'.
    • title: Text alternative for the forum icon.
  • icon_title: Text alternative for the forum icon, same as above.
  • new_posts: '1' when this topic contains new posts, otherwise '0'.
  • first_new: '1' when this is the first topic with new posts, otherwise '0'.
  • icon_status: Indicates which status icon should be used.

See also




Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.