datetime-form.html.twig in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
Default theme implementation of a datetime form element.
Available variables:
- attributes: HTML attributes for the datetime form element.
- content: The datelist form element to be output.
See also
2 theme calls to datetime-form.html.twig
- Datelist::getInfo in core/
lib/ Drupal/ Core/ Datetime/ Element/ Datelist.php - Returns the element properties for this element.
- Datetime::getInfo in core/
lib/ Drupal/ Core/ Datetime/ Element/ Datetime.php - Returns the element properties for this element.
File
core/modules/system/templates/datetime-form.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of a datetime form element.
- *
- * Available variables:
- * - attributes: HTML attributes for the datetime form element.
- * - content: The datelist form element to be output.
- *
- * @see template_preprocess_datetime_form()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes }}>
- {{ content }}
- </div>