You are here

webform-help.html.twig in Webform 6.x

Same filename and directory in other branches
  1. 8.5 templates/webform-help.html.twig

Theme implementation for webform help.

Available variables

  • title: Help title.
  • content: Help content.
  • youtube_id: YouTube video id.
  • help: A render array content help title and content inside a details element.

File

templates/webform-help.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme implementation for webform help.
  5. *
  6. * Available variables
  7. * - title: Help title.
  8. * - content: Help content.
  9. * - youtube_id: YouTube video id.
  10. * - help: A render array content help title and content inside a details element.
  11. *
  12. * @see template_preprocess_webform_help()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {{ attach_library('webform/webform.help') }}
  18. {{ help }}