datetime-form.html.twig
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
template_preprocess_datetime_form()
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.twig 
View 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>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
