yamlform-element-document-file.html.twig in YAML Form 8
Default theme implementation for a document file element.
Available variables:
- element: The element.
- value: The element's value.
- options Associative array of options for element.
- file: The element's File object.
- file_link: Link to the file.
File
templates/yamlform-element-document-file.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a document file element.
- *
- * Available variables:
- * - element: The element.
- * - value: The element's value.
- * - options Associative array of options for element.
- * - file: The element's File object.
- * - file_link: Link to the file.
- */
- #}
- <div>{{ file_link }}</div>
-