help_topics_test.test.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig
  2. 10 core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig
  3. 11.x core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig
---
label: "ABC Help Test module"
top_level: true
related:
  - help_topics_test.linked
  - does_not_exist.and_no_error
---
{% set help_topic_url = render_var(url('help.help_topic', {id: 'help_topics_test.additional'})) %}
<p>{% trans %}This is a test. It should <a href="{{ help_topic_url }}">link to the additional topic</a>. Also there should be a related topic link below to the Help module topic page and the linked topic.{% endtrans %}</p>
<p>{% trans %}Nonworditem totranslate.{% endtrans %}</p>
<p>{% trans %}Test translation.{% endtrans %}</p>

File

core/modules/help_topics/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig

View source
  1. ---
  2. label: "ABC Help Test module"
  3. top_level: true
  4. related:
  5. - help_topics_test.linked
  6. - does_not_exist.and_no_error
  7. ---
  8. {% set help_topic_url = render_var(url('help.help_topic', {id: 'help_topics_test.additional'})) %}
  9. <p>{% trans %}This is a test. It should <a href="{{ help_topic_url }}">link to the additional topic</a>. Also there should be a related topic link below to the Help module topic page and the linked topic.{% endtrans %}</p>
  10. <p>{% trans %}Nonworditem totranslate.{% endtrans %}</p>
  11. <p>{% trans %}Test translation.{% endtrans %}</p>

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