field--node--created.html.twig in Drupal 8
Same filename in this branch
- 8 core/modules/node/templates/field--node--created.html.twig
- 8 core/themes/classy/templates/field/field--node--created.html.twig
- 8 core/themes/stable/templates/field/field--node--created.html.twig
- 8 core/themes/claro/templates/classy/field/field--node--created.html.twig
- 8 core/themes/seven/templates/classy/field/field--node--created.html.twig
- 8 core/themes/bartik/templates/classy/field/field--node--created.html.twig
- 8 core/profiles/demo_umami/themes/umami/templates/classy/field/field--node--created.html.twig
Same filename and directory in other branches
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
File
core/modules/node/templates/field--node--created.html.twigView source
- {#
- /**
- * @file
- * 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 field.html.twig
- *
- * @ingroup themeable
- */
- #}
- <span{{ attributes }}>
- {%- for item in items -%}
- {{ item.content }}
- {%- endfor -%}
- </span>