webform-element-help.html.twig in Webform 6.x
Same filename and directory in other branches
Theme implementation for webform element help
Available variables
- element: form element
- help: Help content.
- help_icon: Help icon.
See also
1 theme call to webform-element-help.html.twig
- WebformHelp::getInfo in src/
Element/ WebformHelp.php - Returns the element properties for this element.
File
templates/webform-element-help.html.twigView source
- {#
- /**
- * @file
- * Theme implementation for webform element help
- *
- * Available variables
- * - element: form element
- * - help: Help content.
- * - help_icon: Help icon.
- *
- * @see template_preprocess_webform_element_help()
- *
- * @ingroup themeable
- */
- #}
- {% spaceless %}
- {{ attach_library('webform/webform.element.help') }}
- <span{{ attributes }}><span aria-hidden="true">?</span></span>
- {% endspaceless %}