iu-8.x-1.x-dev/templates/field/field--entity-reference-revisions.html.twig

templates/field/field--entity-reference-revisions.html.twig
{#
/**
 * @file
 * Theme override for entity reference revisions fields.
 *
 * Remove field label and html wrappers so that nested paragraphs
 * grid items properly inherit equal-height logic from IU Framework.
 *
 * Available variables:
 * - attributes: HTML attributes for the containing element.
 * - label_hidden: Whether to show the field label or not.
 * - title_attributes: HTML attributes for the title.
 * - label: The label for the field.
 * - multiple: TRUE if a field can contain multiple items.
 * - items: List of all the field items. Each item contains:
 *   - attributes: List of HTML attributes for each item.
 *   - content: The field item's 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
 */
#}
{% for item in items %}
  {{ item.content }}
{% endfor %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc