I want to use use entity_generate plugin to create a node for each row of source I’m migrating. I’m getting ‘title’ source field and want to create a node in some my_content_type, with that title. My migration looks like:
# Field to populate my_content_type: plugin: entity_generate source: title entity_type: node bundle: my_content_type value_key: title bundle_key: nid values: title: title
So, I don’t have field referencing that node I’m creating – I just want node to be created as a "side effect". But when I run migration I get the error:
In ContentEntityStorageBase.php line 125:
Missing bundle for entity type node
I basically tried to adjust example for tags from here: https://www.drupal.org/docs/8/api/migrate-api/migrate-process-plugins/contrib-process-plugin-entity_generate
..but something isn’t right there. Why it’s complaining about missing "bundle" parameter, when I provided it?