Mercurial > hg > cmmr2012-drupal-site
diff core/modules/node/templates/field--node--title.html.twig @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/node/templates/field--node--title.html.twig Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,28 @@ +{# +/** + * @file + * Default theme implementation for the node title field. + * + * This is an override of field.html.twig for the node title 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>