以下は、https://drupal.stackexchange.com/a/236408/67965の変更であり、フィールドではなくレンダリングの子をループします#items。
小枝拡張:
/**
 * Generates a list of all Twig filters that this extension defines.
 */
public function getFilters() {
  return [
    new \Twig_SimpleFilter('children', array($this, 'children')),
  ];
}
/**
 * Get the render children of a field
 */
public static function children($variable) {
  return array_filter(
    $variable, 
    function($k) { return (is_numeric($k) || (strpos($k, '#') !== 0)); },
    ARRAY_FILTER_USE_KEY
  );
}
twigでは、レンダリングされた子を直接通過させることができます。これは、アトミックデザインパターンに役立ちます。エンティティテンプレートを定義します。例:
{% include '@molecules/grid.html.twig' with { 
   head : content.field_title,
   grid_columns: content.field_collection_items|children
} %}
ここで、grid.html.twigは次のようなものです。
{% if head %}
<div class="slab__wrapper">
  {{ head }}
</div>
{% endif %}
<div class="grid">          
  {% for col in grid_columns %}
  <div class="grid__column">
    {{ col }}
  </div>
  {% endfor %}
</div>
{{ content.field_collection_items }}子のレイアウトは親の設計要素のコンテキストで制御できるため、これは通常、フィールドテンプレートをレンダリングする必要がある場合よりも便利です。