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. 8.9.x core/modules/help_topics/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_link = render_var(help_topic_link('help_topics_test.test_urls')) %}
<p>{% trans %}This is a test. It should link to the URL test topic {{ help_topic_link }}. Also there should be a related topic link below to the Help module topic page and the linked topic.{% endtrans %}</p>
<p>{% trans %}Non-word-item to translate.{% endtrans %}</p>
<p>{% trans %}Test translation.{% endtrans %}</p>

File

core/modules/help/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_link = render_var(help_topic_link('help_topics_test.test_urls')) %}
  9. <p>{% trans %}This is a test. It should link to the URL test topic {{ help_topic_link }}. Also there should be a related topic link below to the Help module topic page and the linked topic.{% endtrans %}</p>
  10. <p>{% trans %}Non-word-item to translate.{% 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.