input--time.html.twig in Time Field For Drupal 8.x / 9.x 8
Same filename and directory in other branches
Theme override for a time field.
Available variables:
- attributes: HTML attributes for the input element.
1 theme call to input--time.html.twig
- TimeElement::getInfo in src/
Element/ TimeElement.php - Returns the element properties for this element.
File
templates/input--time.html.twigView source
- {#
- /**
- * @file
- * Theme override for a time field.
- *
- * Available variables:
- * - attributes: HTML attributes for the input element.
- */
- #}
- {%
- set classes = [
- 'time',
- ]
- %}
- <input{{ attributes.addClass(classes) }}/>