People who are using Drupal 6 together with the 3.x branch of CCK (the yellow one on the project page) and use the "content_multigroup" submodule will want to upgrade these multigroups to field_collections in Drupal 8.

Of course at this time a stable field collection module for Drupal 8 is priority but I'm just posting this here for reference.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

askibinski created an issue. See original summary.

AndrewsizZ’s picture

would be cool to have it

AndrewsizZ’s picture

Version: 8.x-1.x-dev » 8.x-3.x-dev

up

AndrewsizZ’s picture

Added patch for have possibility to migrate content_multigroup to field collection.

Added configuration example:

uuid: 882bce62-72b4-4207-a7fb-ba012ceae4f4
langcode: de
status: true
dependencies: {  }
id: group_of_fields
migration_tags:
  - 'Drupal 6'
migration_group: migrate_drupal_6
label: 'D6 Group of fields (Group)'
source:
  plugin: d6_content_multigroup
  group_name: group_of_fields
process:
  field_name:
    plugin: default_value
    default_value: field_page_field_collection
  host_type:
    plugin: default_value
    default_value: node
  host_entity_id: nid

  # Text field of field collection.
  field_page_field_collection_field_1:
    plugin: iterator
    source: field_d6_group_field_1
    process:
      value: value
      format:
        plugin: default_value
        default_value: wysiwyg

  # Entity reference field of field collection.
  field_page_field_collection_field_2:
    plugin: iterator
    source: field_d6_group_field_2
    process:
      target_id: nid
destination:
  plugin: 'entity:field_collection_item'
  default_bundle: field_page_field_collection
migration_dependencies:
  required:
    - upgrade_d6_node_page

in additional using module migrate_tools, migrate_upgrade, migrate_plus:

Status: Needs review » Needs work
AndrewsizZ’s picture

AndrewsizZ’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work
ram4nd’s picture

Status: Needs work » Closed (won't fix)