2014-09-08 21:00:57 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation for the node user field.
|
|
|
|
*
|
|
|
|
* This is an override of field.html.twig for the node user field. See that
|
|
|
|
* template for documentation about its details and overrides.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - attributes: HTML attributes for the containing span element.
|
2014-10-07 12:17:40 +00:00
|
|
|
* - items: List of all the field items. Each item contains:
|
|
|
|
* - attributes: List of HTML attributes for each item.
|
|
|
|
* - content: The field item content.
|
Issue #2217731 by crowdcg, lauriii, davidhernandez, aczietlow, jjcarrion, mortendk, karolus, pakmanlh, LewisNyman, aboros, joshua.boltz: Move field classes out of preprocess and into templates
2014-12-22 16:21:53 +00:00
|
|
|
* - 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.
|
2014-09-08 21:00:57 +00:00
|
|
|
*
|
|
|
|
* @see field.html.twig
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
2015-02-03 15:34:45 +00:00
|
|
|
<span{{ attributes }}>
|
2014-10-07 12:17:40 +00:00
|
|
|
{%- for item in items -%}
|
|
|
|
{{ item.content }}
|
|
|
|
{%- endfor -%}
|
|
|
|
</span>
|