yamlform-help.html.twig in YAML Form 8
Theme implementation for form 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.
See also
2 theme calls to yamlform-help.html.twig
- YamlFormHelpManager::buildHelp in src/
YamlFormHelpManager.php - Build help for specific route.
- YamlFormHelpManager::buildUses in src/
YamlFormHelpManager.php - Build the uses section.
File
templates/yamlform-help.html.twigView source
- {#
- /**
- * @file
- * Theme implementation for form 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.
- *
- * @see template_preprocess_yamlform_help()
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('yamlform/yamlform.help') }}
- {{ help }}