datetime-wrapper.html.twig

Default theme implementation of a datetime form wrapper.

Available variables:

  • content: The form element to be output, usually a datelist, or datetime.
  • title: The title of the form element.
  • title_attributes: HTML attributes for the title wrapper.
  • description: Description text for the form element.
  • required: An indicator for whether the associated form element is required.

See also

template_preprocess_datetime_wrapper()

File

core/modules/system/templates/datetime-wrapper.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!datetime-wrapper.html.twig/8.1.x