W3cubDocs

/Drupal 8

field--node--created.html.twig

Default theme implementation for the node created field.

This is an override of field.html.twig for the node created field. See that template for documentation about its details and overrides.

Available variables:

  • attributes: HTML attributes for the containing span element.
  • items: List of all the field items. Each item contains:
    • attributes: List of HTML attributes for each item.
    • content: The field item content.
  • entity_type: The entity type to which the field belongs.
  • field_name: The name of the field.
  • field_type: The type of the field.
  • label_display: The display settings for the label.

See also

field.html.twig

File

core/modules/node/templates/field--node--created.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!node!templates!field--node--created.html.twig/8.1.x