forum.locking.html.twig

Same filename in other branches
  1. 10 core/modules/forum/help_topics/forum.locking.html.twig
  2. 11.x core/modules/forum/help_topics/forum.locking.html.twig
---
label: 'Locking a forum topic'
related:
  - forum.concept
---
{% set index_link_text %}{% trans %}Forums{% endtrans %}{% endset %}
{% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Lock a topic to prevent users from making any more comments.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}Starting from {{ index_link }} (path: <em>/forums</em>), navigate to the forum that currently contains the topic.{% endtrans %}</li>
  <li>{% trans %}Locate the topic within the forum, and click on the title to view the topic.{% endtrans %}</li>
  <li>{% trans %}Click <em>Edit</em>.{% endtrans %}</li>
  <li>{% trans %}Under <em>Comment settings</em>, check <em>Closed</em>.{% endtrans %}</li>
  <li>{% trans %}Click <em>Save</em>.{% endtrans %}</li>
</ol>

File

core/modules/help_topics/help_topics/forum.locking.html.twig

View source
  1. ---
  2. label: 'Locking a forum topic'
  3. related:
  4. - forum.concept
  5. ---
  6. {% set index_link_text %}{% trans %}Forums{% endtrans %}{% endset %}
  7. {% set index_link = render_var(help_route_link(index_link_text, 'forum.index')) %}
  8. <h2>{% trans %}Goal{% endtrans %}</h2>
  9. <p>{% trans %}Lock a topic to prevent users from making any more comments.{% endtrans %}</p>
  10. <h2>{% trans %}Steps{% endtrans %}</h2>
  11. <ol>
  12. <li>{% trans %}Starting from {{ index_link }} (path: <em>/forums</em>), navigate to the forum that currently contains the topic.{% endtrans %}</li>
  13. <li>{% trans %}Locate the topic within the forum, and click on the title to view the topic.{% endtrans %}</li>
  14. <li>{% trans %}Click <em>Edit</em>.{% endtrans %}</li>
  15. <li>{% trans %}Under <em>Comment settings</em>, check <em>Closed</em>.{% endtrans %}</li>
  16. <li>{% trans %}Click <em>Save</em>.{% endtrans %}</li>
  17. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.