Mercurial > hg > isophonics-drupal-site
annotate core/modules/node/templates/field--node--created.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Default theme implementation for the node created field. |
Chris@0 | 5 * |
Chris@0 | 6 * This is an override of field.html.twig for the node created field. See that |
Chris@0 | 7 * template for documentation about its details and overrides. |
Chris@0 | 8 * |
Chris@0 | 9 * Available variables: |
Chris@0 | 10 * - attributes: HTML attributes for the containing span element. |
Chris@0 | 11 * - items: List of all the field items. Each item contains: |
Chris@0 | 12 * - attributes: List of HTML attributes for each item. |
Chris@0 | 13 * - content: The field item content. |
Chris@0 | 14 * - entity_type: The entity type to which the field belongs. |
Chris@0 | 15 * - field_name: The name of the field. |
Chris@0 | 16 * - field_type: The type of the field. |
Chris@0 | 17 * - label_display: The display settings for the label. |
Chris@0 | 18 * |
Chris@0 | 19 * @see field.html.twig |
Chris@0 | 20 * |
Chris@0 | 21 * @ingroup themeable |
Chris@0 | 22 */ |
Chris@0 | 23 #} |
Chris@0 | 24 <span{{ attributes }}> |
Chris@0 | 25 {%- for item in items -%} |
Chris@0 | 26 {{ item.content }} |
Chris@0 | 27 {%- endfor -%} |
Chris@0 | 28 </span> |