forum-topic.html.twig
Same filename in this branch
Same filename in other branches
Default theme implementation to display a forum topic.
Available variables:
- title_link: The forum title link to display.
- submitted: Indicates when and by whom a topic was submitted.
See also
1 theme call to forum-topic.html.twig
- template_preprocess_forums in core/
modules/ forum/ forum.module - Prepares variables for forums templates.
File
-
core/
themes/ stable9/ templates/ dataset/ forum-topic.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation to display a forum topic.
- *
- * Available variables:
- * - title_link: The forum title link to display.
- * - submitted: Indicates when and by whom a topic was submitted.
- *
- * @see template_preprocess_forums()
- *
- * @ingroup themeable
- */
- #}
- <div class="forum__title">
- <div>{{ title_link }}</div>
- <div>{{ submitted }}</div>
- </div>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.