Can you please advice on how to use code to initiate a node import?

My module hook_node_export_features_default has the webform node data array but I have no idea how to use it to re-create the original node.

Please help.

Comments

ajlow’s picture

I don't know if it is best practice, but for what I was doing, I used the function:

node_export_import($codeString)

danielb’s picture

Status: Active » Closed (fixed)

That's correct, it should interpret the code and process it. Check the documentation in the code above that function.